Files
Gaea/build.gradle

76 lines
1.7 KiB
Groovy
Raw Normal View History

2019-09-02 17:08:06 +08:00
buildscript {
ext {
kotlin_version = '1.6.10'
2022-07-19 11:34:31 +08:00
spring_version = "2.7.0"
2019-09-02 17:08:06 +08:00
}
repositories {
mavenLocal()
2022-07-19 11:34:31 +08:00
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
2019-09-02 17:08:06 +08:00
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
subprojects {
2019-09-02 17:08:06 +08:00
group 'com.synebula'
2022-11-23 15:41:17 +08:00
version '1.5.1'
2019-09-02 17:08:06 +08:00
buildscript {
repositories {
mavenLocal()
2022-07-19 11:34:31 +08:00
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
2019-09-02 17:08:06 +08:00
mavenCentral()
}
}
repositories {
mavenLocal()
2022-07-19 11:34:31 +08:00
maven { url 'https://maven.aliyun.com/nexus/content/groups/public/' }
mavenCentral()
}
apply plugin: 'idea'
2019-09-02 17:08:06 +08:00
apply plugin: 'java'
apply plugin: 'kotlin'
apply plugin: 'maven-publish'
dependencies {
2022-07-19 11:34:31 +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'
2019-09-02 17:08:06 +08:00
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}
2022-08-26 10:33:24 +08:00
publishing {
// repositories {
// maven {
// allowInsecureProtocol = true
// url = "$nexus_url"
// credentials {
// username = "$nexus_usr"
// password = "$nexus_pwd"
// }
// }
// }
publications {
mavenJava(MavenPublication) {
from components.java
}
}
}
2019-09-02 17:08:06 +08:00
}