Skip to content

Commit

Permalink
fix(gradle): disable reobf, remove refmap & add mixin config to JAR's…
Browse files Browse the repository at this point in the history
… manifest
  • Loading branch information
danorris709 authored and YaLTeR committed Jun 12, 2024
1 parent 54d403e commit 542bcd9
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,14 @@ sourceSets {
}

mixin {
add sourceSets.main, 'mousetweaks.mixins.refmap.json'
config 'mousetweaks.mixins.json'
}

minecraft {
mappings channel: 'official', version: '1.20.6'

reobf = false

runs {
client {
workingDirectory project.file('run')
Expand Down Expand Up @@ -91,10 +92,11 @@ jar {
"Implementation-Title" : project.name,
"Implementation-Version" : "${project.version}",
"Implementation-Vendor" : "YaLTeR",
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ"),
"TweakClass" : 'org.spongepowered.asm.launch.MixinTweaker',
"TweakOrder" : 0,
"MixinConfigs" : "mousetweaks.mixins.json"
])

finalizedBy 'reobfJar'
}

task srcJar(type: Jar) {
Expand Down

0 comments on commit 542bcd9

Please sign in to comment.