mirror of
https://github.com/BG-Software-LLC/WildLoaders.git
synced 2024-11-28 12:56:42 +01:00
22 lines
521 B
Groovy
22 lines
521 B
Groovy
group 'Hooks:Folia'
|
|
|
|
java {
|
|
toolchain {
|
|
languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
}
|
|
|
|
repositories {
|
|
maven { url 'https://repo.papermc.io/repository/maven-public/' }
|
|
}
|
|
|
|
dependencies {
|
|
compileOnly 'dev.folia:folia-api:1.20.1-R0.1-SNAPSHOT'
|
|
compileOnly project(":API")
|
|
compileOnly rootProject
|
|
}
|
|
|
|
if (project.hasProperty('hook.compile_folia') &&
|
|
!Boolean.valueOf(project.findProperty("hook.compile_folia").toString())) {
|
|
project.tasks.all { task -> task.enabled = false }
|
|
} |