1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556 |
- 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
- //消息
- compile group: "org.springframework.boot", name: "spring-boot-starter-activemq", version: SPRING_BOOT_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
- compile group: "com.persagy", name: "persagy-kotlin-base", version: PERSAGY_KOTLIN_VERSION
- compile group: "com.persagy", name: "persagy-kotlin-database", version: PERSAGY_KOTLIN_VERSION
- compile group: "com.persagy", name: "persagy-kotlin-mybatis", version: PERSAGY_KOTLIN_VERSION
- compile group: "com.persagy", name: "persagy-kotlin-postgresql", version: PERSAGY_KOTLIN_VERSION
- compile group: "com.persagy", name: "persagy-service-base", version: PERSAGY_SERVICE_VERSION
- compile group: "com.persagy", name: "persagy-service-mybatis", version: PERSAGY_SERVICE_VERSION
- //Gson
- compile 'com.google.code.gson:gson:2.8.0'
- }
|