Skip to content

Commit

Permalink
Update Gradle config and Buildscripts
Browse files Browse the repository at this point in the history
  • Loading branch information
NotMyWing committed Jun 6, 2023
1 parent c60e7b7 commit e929754
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
16 changes: 9 additions & 7 deletions build.gradle
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//version: 1685860463
//version: 1685933053
/*
* DO NOT CHANGE THIS FILE!
* Also, you may replace this file at any time if there is an update available.
Expand Down Expand Up @@ -499,7 +499,12 @@ processResources {
)
}

rename '(.+_at.cfg)', 'META-INF/$1'
if (accessTransformersFile) {
String[] ats = accessTransformersFile.split(',')
ats.each { at ->
rename "(${at})", 'META-INF/$1'
}
}
}

// Automatically generate a mixin json file if it does not already exist
Expand Down Expand Up @@ -535,7 +540,6 @@ tasks.register('generateAssets') {
"dependencies": []
}]
"""
mcmodInfoFile
}

// mixins.{modid}.json
Expand All @@ -560,10 +564,8 @@ tasks.register('generateAssets') {
}
}

if (usesMixins.toBoolean()) {
tasks.named('processResources').configure {
dependsOn('generateAssets')
}
tasks.named('processResources').configure {
dependsOn('generateAssets')
}

jar {
Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ modGroup = co.neeve.nonetherportals

# Version of your mod.
# This field can be left empty if you want your mod's version to be determined by the latest git tag instead.
modVersion = 1.0.0
modVersion =

# The name of your jar when you produce builds, not including any versioning info
modArchivesBaseName = nonetherportals
Expand Down

0 comments on commit e929754

Please sign in to comment.