build: add fg.deobf deps for SBW/Gunfire and fix processResources/mixin
This commit is contained in:
+5
-7
@@ -25,21 +25,19 @@ println "Java toolchain: ${java.toolchain.languageVersion.get()}"
|
||||
minecraft {
|
||||
mappings channel: findProperty('mappings_channel') ?: 'official', version: findProperty('mappings_version') ?: '1.20.1'
|
||||
copyIdeResources = true
|
||||
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
}
|
||||
|
||||
dependencies {
|
||||
minecraft "net.minecraftforge:forge:${findProperty('minecraft_version')}-${findProperty('forge_version')}"
|
||||
implementation fg.deobf(files('/mnt/c/Users/User/AppData/Roaming/AstralRinthApp/profiles/ZernOBT v2/mods/superbwarfare-0.8.9-final-mc1.20.1-6effe4385-all.jar'))
|
||||
implementation fg.deobf(files('/tmp/GunfireOverhaul.jar'))
|
||||
}
|
||||
|
||||
tasks.named('processResources', DuplicatesStrategy.INCLUDE).configure {
|
||||
from(sourceSets.main.resources)
|
||||
tasks.named('processResources').configure {
|
||||
duplicatesStrategy = DuplicatesStrategy.INCLUDE
|
||||
}
|
||||
|
||||
mixin {
|
||||
add sourceSets.main, 'mixins.gunfiresbfix.refmap.json'
|
||||
config 'mixins.gunfiresbfix.json'
|
||||
}
|
||||
|
||||
|
||||
jar {
|
||||
manifest {
|
||||
|
||||
Reference in New Issue
Block a user