| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- apply plugin: "kotlin"
- group 'com.persagy.server'
- version '2.0.0'
- sourceCompatibility = JVM_TARGET
- compileKotlin {
- kotlinOptions.jvmTarget = JVM_TARGET
- }
- compileTestKotlin {
- kotlinOptions.jvmTarget = JVM_TARGET
- }
- sourceCompatibility = 1.8
- repositories {
- mavenCentral()
- }
- dependencies {
- // implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
- // testCompile group: 'junit', name: 'junit', version: '4.12'
- // kotlin 依赖
- compile group: "org.jetbrains.kotlin", name: "kotlin-stdlib-jdk8", version: KOTLIN_VERSION
- compile group: "org.jetbrains.kotlin", name: "kotlin-reflect", version: KOTLIN_VERSION
- ////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- // RESTful API 文档生成工具
- // https://mvnrepository.com/artifact/io.springfox/springfox-swagger-ui
- compile group: "io.springfox", name: "springfox-swagger-ui", version: SWAGGER_VERSION
- compile group: "io.springfox", name: "springfox-swagger2", version: SWAGGER_VERSION
- compile group: "cn.sagacloud", name: "saga-kotlin-base", version: SAGA_KOTLIN_VERSION
- compile group: "cn.sagacloud", name: "saga-kotlin-database", version: SAGA_KOTLIN_VERSION
- compile group: "cn.sagacloud", name: "saga-kotlin-mybatis", version: SAGA_KOTLIN_VERSION
- compile group: "cn.sagacloud", name: "saga-kotlin-postgresql", version: SAGA_KOTLIN_VERSION
- compile group: "cn.sagacloud", name: "saga-service-base", version: SAGA_SERVICE_VERSION
- compile group: "cn.sagacloud", name: "saga-service-mybatis", version: SAGA_SERVICE_VERSION
- //Gson
- compile 'com.google.code.gson:gson:2.8.0'
- }
|