LibsDisguises/build.gradle.kts

60 lines
1.3 KiB
Plaintext
Raw Normal View History

2024-08-05 13:12:51 +02:00
plugins {
`java-library`
}
subprojects {
repositories {
mavenCentral()
maven {
url = uri("https://repo.md-5.net/content/groups/public/")
}
maven {
url = uri("https://papermc.io/repo/repository/maven-public/")
}
maven {
url = uri("https://mvn.lumine.io/repository/maven-public/")
}
maven {
url = uri("https://repo.codemc.io/repository/maven-releases/")
}
maven {
url = uri("https://repo.codemc.io/repository/maven-snapshots/")
}
maven {
url = uri("https://repo.extendedclip.com/content/repositories/placeholderapi/")
}
2024-08-05 13:12:51 +02:00
}
apply(plugin = "java-library")
2024-08-05 14:36:29 +02:00
java {
sourceCompatibility = JavaVersion.VERSION_1_8
targetCompatibility = JavaVersion.VERSION_1_8
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
disableAutoTargetJvm()
2024-08-05 14:36:29 +02:00
}
2024-08-05 13:12:51 +02:00
tasks.withType<JavaCompile> {
options.encoding = "UTF-8"
}
group = "me.libraryaddict.disguises"
version = "1.0-SNAPSHOT"
dependencies {
implementation(rootProject.libs.org.spigotmc.spigot.api)
compileOnly(rootProject.libs.org.projectlombok.lombok)
annotationProcessor(rootProject.libs.org.projectlombok.lombok)
}
}