2021-11-29 23:16:19 +00: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 14:32:36 +00:00
|
|
|
plugins {
|
2021-11-29 23:16:19 +00:00
|
|
|
base
|
2021-10-17 14:32:36 +00:00
|
|
|
java
|
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
maven {
|
|
|
|
name = "PaperMC"
|
|
|
|
url = uri("https://papermc.io/repo/repository/maven-public/")
|
|
|
|
content {
|
|
|
|
includeModule("io.papermc", "paperlib")
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-11-29 23:16:19 +00:00
|
|
|
artifacts {
|
|
|
|
add("default", file("./src/main/resources/worldedit-adapter-1.17.1.jar"))
|
|
|
|
}
|
|
|
|
|
2021-10-17 14:32:36 +00:00
|
|
|
dependencies {
|
|
|
|
compileOnly(libs.paperlib)
|
|
|
|
}
|