2020-05-18 14:08:22 +08:00
|
|
|
buildscript {
|
|
|
|
|
dependencies {
|
|
|
|
|
classpath("org.springframework.boot:spring-boot-gradle-plugin:$spring_version")
|
2021-04-06 20:58:05 +08:00
|
|
|
classpath("org.jetbrains.kotlin:kotlin-allopen:$kotlin_version")
|
2020-05-18 14:08:22 +08:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
apply plugin: 'org.springframework.boot'
|
2021-04-06 20:58:05 +08:00
|
|
|
apply plugin: 'kotlin-spring'
|
2020-05-18 14:08:22 +08:00
|
|
|
|
|
|
|
|
jar.enabled = true //jar SKIPPED问题,不设置可能会无法打jar
|
|
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
|
compile project(":src:zeus.domain")
|
|
|
|
|
compile project(":src:zeus.query")
|
2021-04-18 00:07:34 +08:00
|
|
|
compile project(":src:zeus.repository")
|
2020-05-18 14:08:22 +08:00
|
|
|
compile "com.synebula:gaea.app:$gaea_version"
|
|
|
|
|
compile "com.synebula:gaea.mongo:$gaea_version"
|
2020-05-19 00:14:23 +08:00
|
|
|
|
2020-05-18 14:08:22 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
publishing {
|
|
|
|
|
publications {
|
2020-05-19 00:14:23 +08:00
|
|
|
publish(MavenPublication) {
|
2020-05-18 14:08:22 +08:00
|
|
|
group 'com.synebula'
|
|
|
|
|
artifactId 'zeus.app'
|
|
|
|
|
version "$version"
|
|
|
|
|
from components.java
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|