feat: Setup project structure for 1.18

This commit is contained in:
NotMyFault
2021-11-30 00:16:19 +01:00
parent 0b45248b8c
commit 38130f701c
7 changed files with 44 additions and 13 deletions

View File

@ -1,11 +1,19 @@
// 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.
plugins {
base
java
}
applyPaperweightAdapterConfiguration(
"1.17.1-R0.1-20211120.192557-194"
)
repositories {
maven {
name = "PaperMC"
@ -16,6 +24,10 @@ repositories {
}
}
artifacts {
add("default", file("./src/main/resources/worldedit-adapter-1.17.1.jar"))
}
dependencies {
compileOnly(libs.paperlib)
}

View File

@ -0,0 +1,17 @@
plugins {
java
}
applyPaperweightAdapterConfiguration()
repositories {
maven {
name = "PaperMC"
url = uri("https://papermc.io/repo/repository/maven-public/")
}
}
dependencies {
paperDevBundle("1.18-rc3-R0.1-SNAPSHOT")
compileOnly(libs.paperlib)
}