sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame] | 1 | plugins { |
| 2 | id 'java' |
| 3 | id 'org.springframework.boot' |
| 4 | id 'org.jetbrains.kotlin.jvm' |
| 5 | id 'org.jetbrains.kotlin.plugin.spring' |
| 6 | id 'org.jetbrains.kotlin.plugin.jpa' version '1.3.31' |
| 7 | id 'io.spring.dependency-management' |
| 8 | } |
| 9 | |
| 10 | group 'com.supwisdom.dlpay' |
| 11 | version '1.0-SNAPSHOT' |
| 12 | |
| 13 | sourceCompatibility = 1.8 |
| 14 | |
| 15 | repositories { |
| 16 | mavenCentral() |
| 17 | } |
| 18 | |
| 19 | ext { |
| 20 | set('springCloudVersion', "Greenwich.SR2") |
| 21 | } |
| 22 | |
| 23 | dependencies { |
| 24 | implementation 'org.springframework.boot:spring-boot-starter-data-jpa' |
| 25 | implementation 'org.springframework.boot:spring-boot-starter-data-redis' |
| 26 | implementation 'org.springframework.boot:spring-boot-starter-web' |
| 27 | implementation 'org.springframework.boot:spring-boot-starter-security' |
| 28 | implementation 'org.springframework.boot:spring-boot-starter-cache' |
| 29 | implementation 'org.springframework.boot:spring-boot-autoconfigure' |
| 30 | implementation 'org.springframework.security:spring-security-oauth2-jose' |
| 31 | implementation 'org.springframework.security:spring-security-oauth2-client' |
| 32 | implementation 'org.springframework.security:spring-security-oauth2-jose' |
| 33 | implementation 'org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.1.5.RELEASE' |
| 34 | implementation 'org.springframework.session:spring-session-data-redis' |
| 35 | implementation 'org.springframework.boot:spring-boot-starter-cache' |
| 36 | implementation 'org.springframework.kafka:spring-kafka' |
| 37 | implementation 'org.springframework.social:spring-social-web:1.1.6.RELEASE' |
| 38 | implementation 'org.springframework.kafka:spring-kafka:2.2.8.RELEASE' |
| 39 | implementation 'org.jetbrains.kotlin:kotlin-reflect' |
| 40 | implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" |
| 41 | implementation 'net.javacrumbs.shedlock:shedlock-spring:2.5.0' |
| 42 | implementation 'net.javacrumbs.shedlock:shedlock-provider-redis-spring:2.5.0' |
| 43 | |
| 44 | implementation 'org.postgresql:postgresql:42.2.5' |
| 45 | |
| 46 | implementation 'org.springframework.cloud:spring-cloud-starter' |
| 47 | implementation 'org.springframework.cloud:spring-cloud-starter-consul-discovery' |
| 48 | implementation 'org.springframework.cloud:spring-cloud-starter-netflix-hystrix' |
| 49 | implementation 'org.springframework.cloud:spring-cloud-starter-netflix-hystrix-dashboard' |
| 50 | |
| 51 | implementation 'org.bitbucket.b_c:jose4j:0.6.5' |
| 52 | implementation 'io.github.microutils:kotlin-logging:1.6.26' |
| 53 | implementation files('libs/masmgc.sdk.sms-0.0.1-SNAPSHOT.jar') |
| 54 | implementation 'commons-beanutils:commons-beanutils:1.9.3' |
| 55 | |
| 56 | implementation 'com.alibaba:fastjson:1.2.60' |
| 57 | |
| 58 | implementation 'com.github.penggle:kaptcha:2.3.2' |
| 59 | |
| 60 | testCompile group: 'junit', name: 'junit', version: '4.12' |
sijun.li | bc77762 | 2020-08-28 18:08:54 +0800 | [diff] [blame^] | 61 | |
| 62 | compile group: 'net.coobird', name: 'thumbnailator', version: '0.4.8' |
| 63 | compile group: 'com.sun.jersey.contribs', name: 'jersey-multipart', version: '1.19.3' |
| 64 | compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.9.1' |
| 65 | compile group: 'log4j', name: 'log4j', version: '1.2.17' |
sijun.li | 9646230 | 2020-07-24 10:08:05 +0800 | [diff] [blame] | 66 | } |
| 67 | |
| 68 | dependencyManagement { |
| 69 | imports { |
| 70 | mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | compileKotlin { |
| 75 | kotlinOptions.jvmTarget = "1.8" |
| 76 | } |
| 77 | compileTestKotlin { |
| 78 | kotlinOptions.jvmTarget = "1.8" |
| 79 | } |