2019-09-30 21:53:44 +02:00
|
|
|
subprojects {
|
|
|
|
apply(plugin = "java-library")
|
|
|
|
// Java is not explicitly needed, but keeps IJ happy with the tasks block
|
|
|
|
apply(plugin = "java")
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
mavenLocal()
|
2019-09-30 22:37:24 +02:00
|
|
|
mavenCentral()
|
2019-09-30 21:53:44 +02:00
|
|
|
maven("https://repo.spongepowered.org/maven")
|
2019-10-09 21:46:04 +02:00
|
|
|
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshots")
|
2019-09-30 21:53:44 +02:00
|
|
|
maven("https://repo.codemc.org/repository/maven-public")
|
|
|
|
maven("https://maven.sk89q.com/repo")
|
|
|
|
maven("https://mvnrepository.com/artifact/org.jetbrains/annotations")
|
2020-02-08 00:06:00 +01:00
|
|
|
maven("https://repo.aikar.co/content/groups/aikar/")
|
|
|
|
maven("https://hub.spigotmc.org/nexus/content/groups/public/")
|
2019-09-26 19:04:56 +02:00
|
|
|
}
|
|
|
|
|
2019-09-30 21:53:44 +02:00
|
|
|
tasks {
|
|
|
|
withType(JavaCompile::class.java) {
|
|
|
|
options.encoding = "UTF-8"
|
2019-09-26 19:04:56 +02:00
|
|
|
}
|
|
|
|
}
|
2019-09-28 10:43:33 +02:00
|
|
|
|
2019-09-30 21:53:44 +02:00
|
|
|
configure<JavaPluginConvention> {
|
|
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
2019-09-28 10:43:33 +02:00
|
|
|
}
|
2019-09-26 19:04:56 +02:00
|
|
|
|
2019-10-09 21:46:04 +02:00
|
|
|
}
|