2021-11-30 00:16:19 +01:00
|
|
|
// TODO await https://github.com/PaperMC/paperweight/issues/116
|
|
|
|
//applyPaperweightAdapterConfiguration()
|
|
|
|
//
|
|
|
|
//dependencies {
|
|
|
|
// paperDevBundle("1.17.1-R0.1-20211120.192557-194")
|
|
|
|
//}
|
|
|
|
|
|
|
|
// Until the above issue is resolved, we are bundling old versions using their last assembled JAR.
|
|
|
|
// Technically this means we cannot really update them, but that is is the price we pay for supporting older versions.
|
|
|
|
|
|
|
|
|
2021-10-17 16:32:36 +02:00
|
|
|
plugins {
|
2021-11-30 00:16:19 +01:00
|
|
|
base
|
2021-10-17 16:32:36 +02:00
|
|
|
java
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name = "PaperMC"
|
|
|
|
url = uri("https://papermc.io/repo/repository/maven-public/")
|
|
|
|
content {
|
|
|
|
includeModule("io.papermc", "paperlib")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-30 00:16:19 +01:00
|
|
|
artifacts {
|
|
|
|
add("default", file("./src/main/resources/worldedit-adapter-1.17.1.jar"))
|
|
|
|
}
|
|
|
|
|
2021-10-17 16:32:36 +02:00
|
|
|
dependencies {
|
|
|
|
compileOnly(libs.paperlib)
|
|
|
|
}
|