2021-12-21 11:11:08 +01:00
|
|
|
applyPaperweightAdapterConfiguration()
|
2021-11-30 00:16:19 +01:00
|
|
|
|
2021-10-17 16:32:36 +02:00
|
|
|
plugins {
|
|
|
|
java
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
2021-12-20 21:12:04 +00:00
|
|
|
mavenCentral()
|
2021-10-17 16:32:36 +02:00
|
|
|
maven {
|
|
|
|
name = "PaperMC"
|
2022-05-21 12:08:10 +02:00
|
|
|
url = uri("https://repo.papermc.io/repository/maven-public/")
|
2021-12-20 21:12:04 +00:00
|
|
|
}
|
2021-11-30 00:16:19 +01: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 16:32:36 +02:00
|
|
|
dependencies {
|
2022-04-21 18:40:49 -07:00
|
|
|
paperDevBundle("1.17.1-R0.1-20220414.034903-210")
|
2022-06-10 01:26:48 +02:00
|
|
|
compileOnly("io.papermc:paperlib")
|
2021-10-17 16:32:36 +02:00
|
|
|
}
|