Moved Fabric build stuff into a subdirectory.

This commit is contained in:
flash 2024-02-22 22:10:42 +01:00
parent ec00507226
commit db8be56f18
23 changed files with 17 additions and 3 deletions

View file

@ -41,7 +41,21 @@ java {
}
jar {
from("LICENSE") {
from('../LICENSE') {
rename { "${it}_${project.base.archivesName.get()}"}
}
}
sourceSets {
main {
java {
srcDirs = ['../src/fabric']
resources {
srcDirs = ['../src']
include 'fabric.mod.json'
include 'fabric.mixins.json'
include 'assets/icon.png'
}
}
}
}

View file

View file

View file

Before

Width:  |  Height:  |  Size: 3.8 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

View file

@ -12,10 +12,10 @@
"sources": "https://patchii.net/flashii/mcexts"
},
"license": "BSD-3-Clause-Clear",
"icon": "assets/flashii-extensions/icon.png",
"icon": "assets/icon.png",
"environment": "*",
"mixins": [
"flashii-extensions.mixins.json"
"fabric.mixins.json"
],
"depends": {
"fabricloader": ">=0.14.22",