mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-25 06:36:45 +01:00
83373275f7
Goal will be to slowly move out the bukkit* dependencies from -core, but, we have our starting point
26 lines
791 B
Plaintext
26 lines
791 B
Plaintext
subprojects {
|
|
apply(plugin = "java-library")
|
|
// Java is not explicitly needed, but keeps IJ happy with the tasks block
|
|
apply(plugin = "java")
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven("https://repo.spongepowered.org/maven")
|
|
maven("https://hub.spigotmc.org/nexus/content/repositories/snapshoits")
|
|
maven("https://repo.codemc.org/repository/maven-public")
|
|
maven("https://maven.sk89q.com/repo")
|
|
maven("https://mvnrepository.com/artifact/org.jetbrains/annotations")
|
|
}
|
|
|
|
tasks {
|
|
withType(JavaCompile::class.java) {
|
|
options.encoding = "UTF-8"
|
|
}
|
|
}
|
|
|
|
configure<JavaPluginConvention> {
|
|
targetCompatibility = JavaVersion.VERSION_1_8
|
|
sourceCompatibility = JavaVersion.VERSION_1_8
|
|
}
|
|
|
|
} |