You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
1.0 KiB
45 lines
1.0 KiB
buildscript {
|
|
ext {
|
|
springBootVersion = '2.0.3.RELEASE'
|
|
}
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
dependencies {
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:${springBootVersion}")
|
|
}
|
|
}
|
|
|
|
apply plugin: 'java'
|
|
apply plugin: 'org.springframework.boot'
|
|
apply plugin: 'io.spring.dependency-management'
|
|
|
|
group = 'com.trgis'
|
|
version = '0.0.1-SNAPSHOT'
|
|
sourceCompatibility = 1.8
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
}
|
|
|
|
ext {
|
|
springCloudVersion = 'Finchley.RELEASE'
|
|
}
|
|
|
|
jar{
|
|
manifest {attributes 'Main-Class':'com.trgis.sb2sc.Sb2scConfigApplication'}
|
|
}
|
|
|
|
dependencies {
|
|
compile('org.springframework.cloud:spring-cloud-config-server')
|
|
compile('org.springframework.cloud:spring-cloud-starter-netflix-eureka-client')
|
|
compile('org.springframework.boot:spring-boot-starter-security')
|
|
compile('org.springframework.boot:spring-boot-starter-actuator')
|
|
testCompile('org.springframework.boot:spring-boot-starter-test')
|
|
}
|
|
|
|
dependencyManagement {
|
|
imports {
|
|
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
|
|
}
|
|
}
|
|
|