mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-24 11:57:54 +01:00
Fix api artifacts getting remapped by consumers
This commit is contained in:
parent
1f6972a70b
commit
c5a6fe98c2
3 changed files with 34 additions and 1 deletions
|
@ -75,7 +75,9 @@ open class PlatformExtension(val project: Project) {
|
|||
source(commonSourceSet.allJava)
|
||||
}
|
||||
named<ProcessResources>(it.processResourcesTaskName).configure {
|
||||
from(commonSourceSet.resources)
|
||||
from(commonSourceSet.resources) {
|
||||
exclude("fabric.mod.json")
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
31
common/src/lib/resources/fabric.mod.json
Normal file
31
common/src/lib/resources/fabric.mod.json
Normal file
|
@ -0,0 +1,31 @@
|
|||
{
|
||||
"__comment": "This is to make sure api artifacts get remapped properly",
|
||||
"schemaVersion": 1,
|
||||
"id": "${mod_id}",
|
||||
"version": "${mod_version}",
|
||||
"name": "${mod_name}",
|
||||
"description": "${mod_description}",
|
||||
"authors": [
|
||||
"Jozufozu",
|
||||
"PepperCode1"
|
||||
],
|
||||
"contact": {
|
||||
"homepage": "${mod_homepage}",
|
||||
"sources": "${mod_sources}",
|
||||
"issues": "${mod_issues}"
|
||||
},
|
||||
"license": "${mod_license}",
|
||||
"icon": "logo.png",
|
||||
"environment": "client",
|
||||
"entrypoints": {
|
||||
},
|
||||
"mixins": [
|
||||
],
|
||||
"depends": {
|
||||
"minecraft": "${minecraft_semver_version_range}",
|
||||
"fabric-api": "${fabric_api_version_range}"
|
||||
},
|
||||
"breaks": {
|
||||
"sodium": "<0.5.0"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue