This commit is contained in:
creeper123123321 2021-11-25 19:26:02 -03:00
parent 8a5982434e
commit f2ee3bc413
4 changed files with 9 additions and 23 deletions

View File

@ -13,7 +13,7 @@ plugins {
}
def ENV = System.getenv()
def vvVer = "4.1.0-1.18-pre5-SNAPSHOT"
def vvVer = "4.1.0-1.18-rc1-SNAPSHOT"
def yamlVer = "1.29"
description = "Client-side and server-side ViaVersion implementation for Fabric"
@ -113,15 +113,7 @@ subprojects {
publishing {
publications {
mavenJava(MavenPublication) {
afterEvaluate {
artifact(file("${project.buildDir}/libs/$archivesBaseName-${version}-maven.jar")) {
builtBy remapMavenJar
}
artifact(sourcesJar) {
builtBy remapSourcesJar
}
}
from components.java
}
}
@ -140,13 +132,7 @@ task remapMavenJar(type: RemapJarTask, dependsOn: jar) {
publishing {
publications {
mavenJava(MavenPublication) {
artifact(file("${project.buildDir}/libs/$archivesBaseName-${version}-maven.jar")) {
builtBy remapMavenJar
}
artifact(sourcesJar) {
builtBy remapSourcesJar
}
from components.java
pom.withXml {
def depsNode = asNode {}.appendNode("dependencies")

View File

@ -1,7 +1,7 @@
dependencies {
minecraft("com.mojang:minecraft:1.17.1")
mappings("net.fabricmc:yarn:1.17.1+build.61:v2")
mappings("net.fabricmc:yarn:1.17.1+build.64:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.40.1+1.17")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.43.1+1.17")
modImplementation("com.terraformersmc:modmenu:2.0.2")
}

View File

@ -1,7 +1,7 @@
dependencies {
minecraft("com.mojang:minecraft:1.18-pre5")
mappings("net.fabricmc:yarn:1.18-pre5+build.2:v2")
minecraft("com.mojang:minecraft:1.18-rc1")
mappings("net.fabricmc:yarn:1.18-rc1+build.1:v2")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.42.8+1.18")
modImplementation("net.fabricmc.fabric-api:fabric-api:0.43.1+1.18")
modImplementation("com.terraformersmc:modmenu:3.0.0")
}

View File

@ -1,6 +1,6 @@
dependencies {
minecraft("com.mojang:minecraft:1.8.9")
mappings("net.fabricmc:yarn:1.8.9+build.202107080308:v2")
mappings("net.fabricmc:yarn:1.8.9+build.202110221052:v2")
modImplementation("net.legacyfabric.legacy-fabric-api:legacy-fabric-api:1.1.0+1.8.9")
modImplementation("io.github.boogiemonster1o1:modmenu:0.1.0+1.8.9")