mirror of
https://github.com/ViaVersion/ViaFabric.git
synced 2024-12-20 16:07:36 +01:00
Downgrade VV dependency to J8
Downgrades the included dependency to J8 to support bootstrapping legacy versions which don't support newer Java versions, running from IDE is excluded here
This commit is contained in:
parent
0d1c553ee1
commit
3fb4d18b7e
10
build.gradle
10
build.gradle
@ -14,6 +14,7 @@ plugins {
|
||||
id "com.modrinth.minotaur" version "2.8.7"
|
||||
id "fabric-loom" version "1.6-SNAPSHOT" apply false
|
||||
id "com.github.ben-manes.versions" version "0.51.0"
|
||||
id "xyz.wagyourtail.jvmdowngrader" version "0.6.1"
|
||||
}
|
||||
|
||||
def ENV = System.getenv()
|
||||
@ -129,17 +130,24 @@ subprojects.each {
|
||||
remapJar.dependsOn("${it.path}:remapJar")
|
||||
}
|
||||
|
||||
configurations {
|
||||
includeJ8
|
||||
}
|
||||
|
||||
jvmdg.dg(configurations.includeJ8)
|
||||
|
||||
dependencies {
|
||||
// dummy version
|
||||
minecraft("com.mojang:minecraft:1.14.4")
|
||||
mappings("net.fabricmc:yarn:1.14.4+build.18:v2")
|
||||
|
||||
include("com.viaversion:viaversion:${rootProject.viaver_version}")
|
||||
includeJ8("com.viaversion:viaversion:${rootProject.viaver_version}")
|
||||
include("org.yaml:snakeyaml:${rootProject.yaml_version}")
|
||||
include("com.github.TinfoilMC:ClientCommands:1.1.0")
|
||||
}
|
||||
|
||||
remapJar {
|
||||
nestedJars.from configurations.includeJ8
|
||||
afterEvaluate {
|
||||
subprojects.each {
|
||||
nestedJars.from project("${it.path}").tasks.named("remapJar")
|
||||
|
@ -1,6 +1,7 @@
|
||||
pluginManagement {
|
||||
repositories {
|
||||
gradlePluginPortal()
|
||||
mavenCentral()
|
||||
maven ("https://maven.fabricmc.net/")
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user