mirror of
https://github.com/plexusorg/Plex-FAWE.git
synced 2024-12-23 09:47:38 +00:00
d6e3c331d4
* Update swathes of easy-to-update-sort-of-code. - Untested - Should compile but NMF broken something - Several todos: - biome history//better support (move to biome sections in core) - regen (haha lol no thanks, someone else can do that) - probably actually do the palette stuff that probably won't work in PaperweightPlatformAdapter * ci: Provide basic Jenkinsfile for ghprb pipeline * build: Update paperweight * upstream: Update Upstream de6fa17 Add getBrush helper for use with instanceof pattern matching (1926) * FAWE will now load on startup * it....works? * Begin to allow biome edits (and fix biomes reverting to plains upon editing blocks) * Add new blocks/block properties * Only create biome palette if supplies is null * Fix biome operations * Finally get removing BlockID done (major version change allows it) * refactor!: Drop PlotSquared v4 Fawe 2.0.0 and newer requires Java 17, PlotSquared v4 supports 1.13 and 1.14, Fawe wont work on these versions nevertheless and refuses to load due Java version incompatiblities with older versions. Newer versions can use PlotSquared v6. * docs: Update readme * Added and removed some comments * Added and removed some comments * refactor: Rename worldedit configuration * build: Re-add 1.17 module This the a very nasty commit * chore: Implement missing methods * build: Update paperweight * upstream: Update upstream 6df194e Remove finalize, use a Cleaner instead (1943) 9843a4f Fix snapshots in 1.18 (1959) * ci: Escape workflows * build: Update paperweight to 1.18.1 * build: Update Paster * Fix compilation * Bump to 1.18.1 * Do both 1.18 and 1.18.1 Co-authored-by: Alex <mc.cache@web.de> * Fix single-block lookups * Reserve ordinals 0 through 3 for air/"reserved" * Create block palette data with values * Fix classpath for testing for starlight * Correctly use block rather than sky light layer [not used in paper] Co-authored-by: NotMyFault <mc.cache@web.de> Co-authored-by: Matt <4009945+MattBDev@users.noreply.github.com>
64 lines
1.7 KiB
Plaintext
64 lines
1.7 KiB
Plaintext
// 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
|
|
}
|
|
|
|
repositories {
|
|
mavenCentral()
|
|
maven {
|
|
name = "PaperMC"
|
|
url = uri("https://papermc.io/repo/repository/maven-public/")
|
|
}
|
|
maven {
|
|
name = "Athion"
|
|
url = uri("https://ci.athion.net/plugin/repository/tools/")
|
|
content {
|
|
includeModule("io.papermc", "paper-server")
|
|
}
|
|
}
|
|
maven {
|
|
name = "OSS Sonatype Snapshots"
|
|
url = uri("https://oss.sonatype.org/content/repositories/snapshots/")
|
|
}
|
|
maven {
|
|
name = "Mojang"
|
|
url = uri("https://libraries.minecraft.net/")
|
|
}
|
|
}
|
|
|
|
artifacts {
|
|
add("default", file("./src/main/resources/worldedit-adapter-1.17.1.jar"))
|
|
}
|
|
|
|
java {
|
|
toolchain.languageVersion.set(JavaLanguageVersion.of(17))
|
|
}
|
|
|
|
configurations.all {
|
|
attributes.attribute(TargetJvmVersion.TARGET_JVM_VERSION_ATTRIBUTE, 17)
|
|
}
|
|
|
|
|
|
dependencies {
|
|
compileOnly("io.papermc.paper:paper-api:1.17.1-R0.1-SNAPSHOT")
|
|
compileOnly(project(":worldedit-bukkit"))
|
|
compileOnly(project(":worldedit-core"))
|
|
compileOnly("io.papermc:paper-server:1_17_r1_2")
|
|
compileOnly(libs.paperlib)
|
|
compileOnly("com.mojang:datafixerupper:4.0.26")
|
|
compileOnly("com.mojang:authlib:2.3.31")
|
|
compileOnly("com.mojang:brigadier:1.0.18")
|
|
compileOnly("io.netty:netty-all:4.1.25.Final")
|
|
}
|