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()
|
2021-10-17 14:32:36 +00:00
|
|
|
maven {
|
|
|
|
name = "PaperMC"
|
2022-05-21 10:08:10 +00:00
|
|
|
url = uri("https://repo.papermc.io/repository/maven-public/")
|
2021-12-20 21:12:04 +00:00
|
|
|
}
|
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 {
|
2022-04-22 01:40:49 +00:00
|
|
|
paperDevBundle("1.17.1-R0.1-20220414.034903-210")
|
2022-06-09 23:26:48 +00:00
|
|
|
compileOnly("io.papermc:paperlib")
|
2021-10-17 14:32:36 +00:00
|
|
|
}
|