Skip to content

Commit

Permalink
Update build.gradle
Browse files Browse the repository at this point in the history
  • Loading branch information
strubium authored Feb 1, 2024
1 parent 00c3cb8 commit 7af1d0d
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -88,17 +88,8 @@ dependencies {

jar {
manifest {
def attribute_map = [:]

attribute_map['FMLCorePluginContainsFMLMod'] = true
attribute_map['ForceLoadAsMod'] = project.gradle.startParameter.taskNames[0] == "build"

attribute_map['FMLAT'] = project.archives_base_name + '_at.cfg'
attributes(attribute_map)

attributes 'FMLAT': 'lostcities_at.cfg'
}
// Add all embedded dependencies into the jar
from(provider{ configurations.embed.collect {it.isDirectory() ? it : zipTree(it)} })
}

idea {
Expand Down

0 comments on commit 7af1d0d

Please sign in to comment.