2023-06-04 12:34:03 +02:00
|
|
|
import io.papermc.paperweight.userdev.PaperweightUserDependenciesExtension
|
|
|
|
|
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()
|
2023-03-07 15:35:33 +01:00
|
|
|
gradlePluginPortal()
|
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 {
|
2024-01-22 19:14:10 +01:00
|
|
|
// url=https://repo.papermc.io/service/rest/repository/browse/maven-public/io/papermc/paper/dev-bundle/1.17.1-R0.1-SNAPSHOT
|
2023-06-04 12:34:03 +02:00
|
|
|
the<PaperweightUserDependenciesExtension>().paperDevBundle("1.17.1-R0.1-20220414.034903-210")
|
2023-08-09 20:52:18 +02:00
|
|
|
compileOnly(libs.paperlib)
|
2021-10-17 16:32:36 +02:00
|
|
|
}
|