64 lines
1.8 KiB
Groovy
64 lines
1.8 KiB
Groovy
buildscript {
|
|
ext {
|
|
versionSpringBoot = '1.4.5.RELEASE'
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath group: 'org.springframework.boot', name: 'spring-boot-gradle-plugin', version: versionSpringBoot
|
|
}
|
|
}
|
|
|
|
apply plugin: 'application'
|
|
apply plugin: 'org.springframework.boot'
|
|
|
|
mainClassName = 'tech.athene.brockerservice.BrockerServiceApplication'
|
|
|
|
jar {
|
|
baseName = 'time-series-smoothing'
|
|
version = '0.0.1'
|
|
manifest {
|
|
attributes 'Main-Class': mainClassName
|
|
}
|
|
|
|
from {
|
|
configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
sourceCompatibility = 1.8
|
|
targetCompatibility = 1.8
|
|
|
|
dependencies {
|
|
ext {
|
|
versionSLF4J = '1.7.24'
|
|
versionJetty = '9.3.16.v20170120'
|
|
versionJackson = '2.8.7'
|
|
versionSwagger = '2.5.0'
|
|
}
|
|
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-web'
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-security'
|
|
compile group: 'org.springframework.boot', name: 'spring-boot-starter-jetty'
|
|
compile group: 'org.slf4j', name: 'slf4j-api', version: versionSLF4J
|
|
|
|
compile group: 'org.eclipse.jetty', name: 'jetty-servlet', version: versionJetty
|
|
|
|
compile group: 'com.fasterxml.jackson.core', name: 'jackson-databind', version: versionJackson
|
|
compile group: 'com.fasterxml.jackson.core', name: 'jackson-annotations', version: versionJackson
|
|
compile group: 'com.fasterxml.jackson.datatype', name: 'jackson-datatype-jsr310', version: versionJackson
|
|
|
|
compile group: 'io.springfox', name: 'springfox-swagger2', version: versionSwagger
|
|
compile group: 'io.springfox', name: 'springfox-swagger-ui', version: versionSwagger
|
|
|
|
testCompile group: 'org.springframework.boot', name: 'spring-boot-starter-test'
|
|
}
|
|
|
|
|