2023-06-04 10:34:03 +00:00
|
|
|
import io.papermc.paperweight.userdev.PaperweightUserDependenciesExtension
|
|
|
|
|
2021-12-21 10:11:08 +00:00
|
|
|
applyPaperweightAdapterConfiguration()
|
2021-11-29 23:16:19 +00:00
|
|
|
|
2021-10-17 14:32:36 +00:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2021-12-20 21:12:04 +00:00
|
|
|
mavenCentral()
|
2023-03-07 14:35:33 +00:00
|
|
|
gradlePluginPortal()
|
2021-11-29 23:16:19 +00:00
|
|
|
}
|
|
|
|
|
2021-12-20 21:12:04 +00:00
|
|
|
java {
|
|
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
|
|
|
}
|
|
|
|
|
|
|
|
configurations.all {
|
|
|
|
attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17)
|
|
|
|
}
|
|
|
|
|
|
|
|
|
2021-10-17 14:32:36 +00:00
|
|
|
dependencies {
|
2023-06-04 10:34:03 +00:00
|
|
|
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.17.1-R0.1-20220414.034903-210")
|
2023-08-09 18:52:18 +00:00
|
|
|
compileOnly(libs.paperlib)
|
2021-10-17 14:32:36 +00:00
|
|
|
}
|