Skip to content

Commit

Permalink
chore(build): Update loom
Browse files Browse the repository at this point in the history
  • Loading branch information
zml2008 committed Oct 22, 2023
1 parent 3f68854 commit b1ba08b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
24 changes: 16 additions & 8 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import ca.stellardrift.build.configurate.transformations.ConfigurateTransformati

plugins {
id 'net.ltgt.errorprone' version '3.1.0'
id 'fabric-loom' version '1.2.+'
id 'io.github.juuxel.loom-quiltflower' version '1.11.0'
id 'fabric-loom' version '1.4.3'
id 'ca.stellardrift.opinionated' version '6.1.0'
id 'ca.stellardrift.configurate-transformations' version '6.1.0'
id 'net.kyori.indra.publishing.sonatype' version '3.1.3'
Expand Down Expand Up @@ -91,15 +90,24 @@ tasks.withType(ProcessResources).configureEach {
filesMatching("pack.mcmeta") { convertFormat(ConfigFormats.YAML, ConfigFormats.JSON) }
}

quiltflower {
fromDependency("org.quiltmc:quiltflower:$versionQuiltflower")
preferences {
win = 0
}
addToRuntimeClasspath = true
loom {
decompilerOptions.vineflower {
options.put("win", "0")
}
}

configurations.runtimeClasspath {
extendsFrom configurations.vineflowerDecompilerClasspath
}

afterEvaluate {
tasks.named("genSources") {
dependsOn = ["genSourcesWithVineflower"]
}
}

dependencies {
vineflowerDecompilerClasspath("org.vineflower:vineflower:$versionVineflower")
compileOnly "com.google.errorprone:error_prone_annotations:$versionErrorprone"
errorprone "com.google.errorprone:error_prone_core:$versionErrorprone"
compileOnlyApi "org.checkerframework:checker-qual:3.39.0"
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ versionFabricApi=0.59.0+1.18.2
versionLoader=0.14.9
versionMinecraft=1.18.2
versionParchment=1.18.2:2022.06.05
versionQuiltflower=1.9.0
versionVineflower=1.9.3

longDescription=Configurate bindings for Fabric
org.gradle.jvmargs=-Xmx1G

0 comments on commit b1ba08b

Please sign in to comment.