123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566 |
- plugins {
- id 'org.springframework.boot' version '2.1.0.RELEASE'
- id 'io.spring.dependency-management' version '1.0.8.RELEASE'
- id 'java'
- }
- ext {
- set('springCloudVersion', "Greenwich.SR2")
- set('springBootVersion',"2.1.0.RELEASE")
- set('droolsVersion',"7.11.0.Final")
- }
- group = 'com.zoniot'
- version = '0.0.1-SNAPSHOT'
- sourceCompatibility = '1.8'
- configurations {
- compileOnly {
- extendsFrom annotationProcessor
- }
- }
- repositories {
- mavenLocal()
- maven{ url 'http://maven.aliyun.com/nexus/content/groups/public/'}
- }
- ext {
- //set('springCloudVersion', "Hoxton.M3")
- //set('springCloudVersion', "Finchley.SR1")
- set('springCloudVersion', "Greenwich.SR2")
- set('springCloudAlibabaVersion', "2.1.0.RELEASE")
- //set('springCloudAlibabaVersion', "0.2.2.RELEASE")
- //set('springCloudAlibabaVersion', "0.9.0.RELEASE")
- }
- dependencyManagement {
- imports {
- mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
- mavenBom "com.alibaba.cloud:spring-cloud-alibaba-dependencies:${springCloudAlibabaVersion}"
- }
- }
- dependencies {
- implementation 'org.springframework.boot:spring-boot-starter'
- compileOnly 'org.projectlombok:lombok'
- annotationProcessor 'org.projectlombok:lombok'
- testImplementation('org.springframework.boot:spring-boot-starter-test') {
- exclude group: 'org.junit.vintage', module: 'junit-vintage-engine'
- }
- implementation 'org.springframework.boot:spring-boot-starter'
- implementation 'org.springframework.boot:spring-boot-starter-actuator'
- //implementation('org.springframework.boot:spring-boot-starter-web')
- implementation 'org.springframework.cloud:spring-cloud-starter-gateway'
- //implementation 'com.alibaba.cloud:spring-cloud-starter-alibaba-nacos-discovery'
- compile('io.springfox:springfox-swagger2:2.9.2')
- compile('org.springframework.boot:spring-boot-starter-data-redis')
- {
- exclude group: 'io.lettuce'
- }
- compile('redis.clients:jedis')
- }
- test {
- useJUnitPlatform()
- }
|