mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-11-05 09:09:46 +01:00
update gradle + loom
This commit is contained in:
parent
4fb5e9cfac
commit
cae79c2b68
12
build.gradle
12
build.gradle
@ -2,7 +2,7 @@
|
||||
plugins {
|
||||
id "java"
|
||||
id "maven-publish"
|
||||
id "fabric-loom" version "0.5.43" apply false
|
||||
id "fabric-loom" version "0.7-SNAPSHOT" apply false
|
||||
id "org.ajoberstar.grgit" version "3.1.1"
|
||||
id "com.matthewprenger.cursegradle" version "1.4.0"
|
||||
}
|
||||
@ -190,10 +190,6 @@ task javadocJar(type: Jar) {
|
||||
build.dependsOn javadocJar
|
||||
|
||||
subprojects {
|
||||
dependencies {
|
||||
testmodCompile sourceSets.main.output
|
||||
}
|
||||
|
||||
task remapMavenJar(type: Copy, dependsOn: remapJar) {
|
||||
afterEvaluate {
|
||||
from("${project.buildDir}/libs/$archivesBaseName-${version}.jar")
|
||||
@ -283,17 +279,15 @@ sourceSets {
|
||||
dependencies {
|
||||
minecraft("com.mojang:minecraft:1.8.9")
|
||||
mappings("net.fabricmc:yarn:1.8.9+build.202103291533:v2")
|
||||
modCompile("net.fabricmc:fabric-loader:0.10.5+build.213")
|
||||
modImplementation("net.fabricmc:fabric-loader:0.10.5+build.213")
|
||||
|
||||
include("com.viaversion:viaversion:4.0.0-21w17a")
|
||||
include("org.yaml:snakeyaml:1.28")
|
||||
|
||||
afterEvaluate {
|
||||
subprojects.each {
|
||||
implementation project(path: ":${it.name}", configuration: "dev")
|
||||
//implementation project(path: ":${it.name}", configuration: "dev")
|
||||
include project("${it.name}:")
|
||||
|
||||
testmodCompile project("${it.name}:").sourceSets.testmod.output
|
||||
}
|
||||
}
|
||||
}
|
||||
|
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
@ -1,5 +1,5 @@
|
||||
distributionBase=GRADLE_USER_HOME
|
||||
distributionPath=wrapper/dists
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.3-bin.zip
|
||||
distributionUrl=https\://services.gradle.org/distributions/gradle-7.0-bin.zip
|
||||
zipStoreBase=GRADLE_USER_HOME
|
||||
zipStorePath=wrapper/dists
|
||||
|
@ -3,7 +3,7 @@ version = rootProject.version
|
||||
dependencies {
|
||||
minecraft("com.mojang:minecraft:21w15a")
|
||||
mappings("net.fabricmc:yarn:21w15a+build.16:v2")
|
||||
modCompile("net.fabricmc:fabric-loader:0.10.5+build.213")
|
||||
modImplementation("net.fabricmc:fabric-loader:0.10.5+build.213")
|
||||
|
||||
modImplementation("net.fabricmc.fabric-api:fabric-api:0.33.0+1.17")
|
||||
modImplementation("com.terraformersmc:modmenu:1.16.9")
|
||||
|
@ -3,7 +3,7 @@ version = rootProject.version
|
||||
dependencies {
|
||||
minecraft("com.mojang:minecraft:1.8.9")
|
||||
mappings("net.fabricmc:yarn:1.8.9+build.202103291533:v2")
|
||||
modCompile("net.fabricmc:fabric-loader:0.10.5+build.213")
|
||||
modImplementation("net.fabricmc:fabric-loader:0.10.5+build.213")
|
||||
|
||||
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")
|
||||
|
Loading…
Reference in New Issue
Block a user