| plugins { |
| id 'java' |
| id 'org.springframework.boot' |
| id 'org.jetbrains.kotlin.jvm' |
| id 'org.jetbrains.kotlin.plugin.spring' |
| id 'org.jetbrains.kotlin.plugin.jpa' version '1.3.31' |
| id 'io.spring.dependency-management' |
| } |
| |
| group 'com.supwisdom.dlpay' |
| version '1.0-SNAPSHOT' |
| |
| sourceCompatibility = 1.8 |
| |
| repositories { |
| mavenCentral() |
| } |
| |
| ext { |
| set('springCloudVersion', "Greenwich.SR2") |
| } |
| |
| dependencies { |
| implementation 'org.springframework.boot:spring-boot-starter-data-jpa' |
| implementation 'org.springframework.boot:spring-boot-starter-data-redis' |
| implementation 'org.springframework.boot:spring-boot-starter-web' |
| implementation 'org.springframework.boot:spring-boot-starter-security' |
| implementation 'org.springframework.boot:spring-boot-starter-cache' |
| implementation 'org.springframework.boot:spring-boot-autoconfigure' |
| implementation 'org.springframework.security:spring-security-oauth2-jose' |
| implementation 'org.springframework.security:spring-security-oauth2-client' |
| implementation 'org.springframework.security:spring-security-oauth2-jose' |
| implementation 'org.springframework.security.oauth.boot:spring-security-oauth2-autoconfigure:2.1.5.RELEASE' |
| implementation 'org.springframework.session:spring-session-data-redis' |
| implementation 'org.springframework.boot:spring-boot-starter-cache' |
| implementation 'org.springframework.kafka:spring-kafka' |
| implementation 'org.springframework.social:spring-social-web:1.1.6.RELEASE' |
| implementation 'org.springframework.kafka:spring-kafka:2.2.8.RELEASE' |
| implementation 'org.jetbrains.kotlin:kotlin-reflect' |
| implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8" |
| implementation 'net.javacrumbs.shedlock:shedlock-spring:2.5.0' |
| implementation 'net.javacrumbs.shedlock:shedlock-provider-redis-spring:2.5.0' |
| |
| implementation 'org.postgresql:postgresql:42.2.5' |
| |
| implementation 'org.springframework.cloud:spring-cloud-starter' |
| implementation 'org.springframework.cloud:spring-cloud-starter-consul-discovery' |
| implementation 'org.springframework.cloud:spring-cloud-starter-netflix-hystrix' |
| implementation 'org.springframework.cloud:spring-cloud-starter-netflix-hystrix-dashboard' |
| |
| implementation 'org.bitbucket.b_c:jose4j:0.6.5' |
| implementation 'io.github.microutils:kotlin-logging:1.6.26' |
| implementation files('libs/masmgc.sdk.sms-0.0.1-SNAPSHOT.jar') |
| implementation 'commons-beanutils:commons-beanutils:1.9.3' |
| |
| implementation 'com.alibaba:fastjson:1.2.60' |
| |
| implementation 'com.github.penggle:kaptcha:2.3.2' |
| |
| testCompile group: 'junit', name: 'junit', version: '4.12' |
| } |
| |
| dependencyManagement { |
| imports { |
| mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}" |
| } |
| } |
| |
| compileKotlin { |
| kotlinOptions.jvmTarget = "1.8" |
| } |
| compileTestKotlin { |
| kotlinOptions.jvmTarget = "1.8" |
| } |