Skip to content

Commit c19ab24

Browse files
committed
Fix processResource not properly running (a gradle bug)
1 parent 3f604e0 commit c19ab24

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build.gradle

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,19 @@ if (propertyBool('use_access_transformer')) {
163163

164164
processResources {
165165

166+
inputs.property 'mod_id', propertyString('mod_id')
167+
inputs.property 'mod_name', propertyString('mod_name')
168+
inputs.property 'mod_version', propertyString('mod_version')
169+
inputs.property 'mod_description', propertyString('mod_description')
170+
inputs.property 'mod_authors', "${propertyStringList('mod_authors', ',').join(', ')}"
171+
inputs.property 'mod_credits', propertyString('mod_credits')
172+
inputs.property 'mod_url', propertyString('mod_url')
173+
inputs.property 'mod_update_json', propertyString('mod_update_json')
174+
inputs.property 'mod_logo_path', propertyString('mod_logo_path')
175+
inputs.property 'mixin_refmap', propertyString('mixin_refmap')
176+
inputs.property 'mixin_package', propertyString('mixin_package')
177+
inputs.property 'mixin_configs', propertyStringList('mixin_configs').join(' ')
178+
166179
def filterList = ['mcmod.info', 'pack.mcmeta']
167180
filterList.addAll(propertyStringList('mixin_configs').collect(config -> "mixins.${config}.json" as String))
168181

0 commit comments

Comments
 (0)