blob: 655b7ee69d25365b4b3f96ad7b80f1e55ad766d8 [file] [log] [blame]
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'
id 'com.palantir.docker' version '0.22.1'
}
docker {
name 'harbor.supwisdom.com/dali/portal:' + version
println(jar.archivePath)
files jar.archivePath
}
docker.dependsOn(jar)
archivesBaseName = 'portal'
group 'com.supwisdom.dlpay'
version '1.0'
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'
compile group: 'net.coobird', name: 'thumbnailator', version: '0.4.8'
compile group: 'com.sun.jersey.contribs', name: 'jersey-multipart', version: '1.19.3'
compile group: 'org.apache.logging.log4j', name: 'log4j-core', version: '2.9.1'
compile group: 'log4j', name: 'log4j', version: '1.2.17'
compile group: 'com.supwisdom', name: 'payapi-sdk', version: '1.0.30-1-g0f6aba8'
implementation 'org.hamcrest:hamcrest:2.1'
}
dependencyManagement {
imports {
mavenBom "org.springframework.cloud:spring-cloud-dependencies:${springCloudVersion}"
}
}
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
repositories {
mavenCentral()
maven {
url "http://ykt-nx.supwisdom.com/repository/ecard-repo/"
credentials {
username 'ecard'
password 'Ecard4SUP'
}
}
}