Files
Zeus/build.gradle

62 lines
1.3 KiB
Groovy
Raw Normal View History

2020-05-18 14:08:22 +08:00
buildscript {
ext {
2022-08-19 16:05:22 +08:00
kotlin_version = '1.6.10'
2020-05-18 14:08:22 +08:00
}
repositories {
mavenLocal()
2022-08-19 16:05:22 +08:00
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
2020-05-18 14:08:22 +08:00
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
2022-08-26 10:43:25 +08:00
subprojects {
2020-05-18 14:08:22 +08:00
group 'com.synebula'
version version
ext {
version '0.9.0'
2022-08-26 10:43:25 +08:00
gaea_version = '1.4.0'
2022-08-19 16:05:22 +08:00
spring_version = "2.7.0"
2020-05-18 14:08:22 +08:00
}
buildscript {
repositories {
mavenLocal()
2022-08-19 16:05:22 +08:00
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
2020-05-18 14:08:22 +08:00
mavenCentral()
}
}
repositories {
mavenLocal()
2022-08-19 16:05:22 +08:00
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
2020-05-18 14:08:22 +08:00
mavenCentral()
}
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven-publish'
dependencies {
2022-08-19 16:05:22 +08:00
api "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
api "org.jetbrains.kotlin:kotlin-reflect:$kotlin_version"
testApi group: 'junit', name: 'junit', version: '4.12'
2020-05-18 14:08:22 +08:00
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
}