mirror of
https://github.com/EngineHub/WorldEdit.git
synced 2024-12-15 04:41:37 +08:00
Some 1.18 related version shenaigans
Compiles: No
This commit is contained in:
parent
bd87665e34
commit
771ffae148
@ -45,8 +45,8 @@
|
||||
implementation(gradleApi())
|
||||
implementation("gradle.plugin.org.cadixdev.gradle:licenser:0.6.1")
|
||||
implementation("org.ajoberstar.grgit:grgit-gradle:4.1.0")
|
||||
implementation("com.github.jengelman.gradle.plugins:shadow:6.1.0")
|
||||
implementation("org.jfrog.buildinfo:build-info-extractor-gradle:4.21.0")
|
||||
implementation("gradle.plugin.com.github.johnrengelman:shadow:7.1.0")
|
||||
implementation("org.jfrog.buildinfo:build-info-extractor-gradle:4.24.23")
|
||||
implementation("org.spongepowered:SpongeGradle:0.11.5")
|
||||
implementation("net.minecraftforge.gradle:ForgeGradle:5.1.14")
|
||||
implementation("net.fabricmc:fabric-loom:$loomVersion")
|
||||
|
@ -4,12 +4,12 @@
|
||||
const val TEXT = "3.0.4"
|
||||
const val TEXT_EXTRAS = "3.0.6"
|
||||
const val PISTON = "0.5.7"
|
||||
const val AUTO_VALUE = "1.7.4"
|
||||
const val JUNIT = "5.7.0"
|
||||
const val MOCKITO = "3.7.7"
|
||||
const val FAST_UTIL = "8.2.1"
|
||||
const val GUAVA = "21.0"
|
||||
const val GSON = "2.8.0"
|
||||
const val AUTO_VALUE = "1.8.2"
|
||||
const val JUNIT = "5.8.1"
|
||||
const val MOCKITO = "4.0.0"
|
||||
const val FAST_UTIL = "8.5.6"
|
||||
const val GUAVA = "31.0.1-jre"
|
||||
const val GSON = "2.8.8"
|
||||
}
|
||||
|
||||
// Properties that need a project reference to resolve:
|
||||
|
@ -4,5 +4,5 @@ version=7.2.8-SNAPSHOT
|
||||
org.gradle.jvmargs=-Xmx1512M
|
||||
org.gradle.parallel=true
|
||||
|
||||
loom.version=0.8.5
|
||||
mixin.version=0.9.2+mixin.0.8.2
|
||||
loom.version=0.10.55
|
||||
mixin.version=0.10.6+mixin.0.8.4
|
||||
|
@ -1,5 +1,4 @@
|
||||
import com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar
|
||||
import net.fabricmc.loom.LoomGradleExtension
|
||||
import net.fabricmc.loom.task.RemapJarTask
|
||||
|
||||
buildscript {
|
||||
@ -21,13 +20,9 @@
|
||||
apply(plugin = "fabric-loom")
|
||||
apply(plugin = "java-library")
|
||||
|
||||
configure<LoomGradleExtension> {
|
||||
accessWidener("src/main/resources/worldedit.accesswidener")
|
||||
}
|
||||
|
||||
val minecraftVersion = "1.17.1"
|
||||
val yarnMappings = "1.17.1+build.1:v2"
|
||||
val loaderVersion = "0.11.6"
|
||||
val minecraftVersion = "1.18-pre1"
|
||||
val yarnMappings = "1.18-pre1+build.6:v2"
|
||||
val loaderVersion = "0.12.5"
|
||||
|
||||
configurations.all {
|
||||
resolutionStrategy {
|
||||
@ -55,7 +50,7 @@
|
||||
"modImplementation"("net.fabricmc:fabric-loader:$loaderVersion")
|
||||
|
||||
// [1] declare fabric-api dependency...
|
||||
"fabricApi"("net.fabricmc.fabric-api:fabric-api:0.36.1+1.17")
|
||||
"fabricApi"("net.fabricmc.fabric-api:fabric-api:0.42.2+1.18")
|
||||
|
||||
// [2] Load the API dependencies from the fabric mod json...
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
@ -110,18 +105,14 @@
|
||||
"annotationProcessor"("net.fabricmc:fabric-loom:${project.versions.loom}")
|
||||
}
|
||||
|
||||
configure<BasePluginConvention> {
|
||||
archivesBaseName = "$archivesBaseName-mc$minecraftVersion"
|
||||
configure<BasePluginExtension> {
|
||||
archivesName.set("${project.name}-mc$minecraftVersion")
|
||||
}
|
||||
|
||||
configure<PublishingExtension> {
|
||||
publications.named<MavenPublication>("maven") {
|
||||
artifactId = the<BasePluginConvention>().archivesBaseName
|
||||
artifact(tasks.named("jar")) {
|
||||
builtBy(tasks.named("remapJar"))
|
||||
}
|
||||
artifact(tasks.named("sourcesJar")) {
|
||||
builtBy(tasks.named("remapSourcesJar"))
|
||||
}
|
||||
artifactId = the<BasePluginExtension>().archivesName.get()
|
||||
from(components["java"])
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
accessWidener v1 named
|
||||
accessible class net/minecraft/server/world/ServerChunkManager$MainThreadExecutor
|
Loading…
Reference in New Issue
Block a user