Fix version not being set in the mod.json + some clean up
This commit is contained in:
parent
e1112a5cff
commit
e4136f547d
4 changed files with 12 additions and 53 deletions
25
build.gradle
25
build.gradle
|
@ -101,29 +101,26 @@ dependencies {
|
|||
modCompile (rcVersion)
|
||||
}
|
||||
|
||||
include rcVersion
|
||||
//TODO enable this again at somepoint
|
||||
//include rcVersion
|
||||
|
||||
compile 'org.checkerframework:checker-qual:2.10.0'
|
||||
compileOnly "com.google.code.findbugs:jsr305:+"
|
||||
}
|
||||
|
||||
processResources{
|
||||
inputs.property 'version', project.version
|
||||
inputs.property 'mcversion', '1.14'
|
||||
processResources {
|
||||
inputs.property "version", project.version
|
||||
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META_INF/mods.toml'
|
||||
expand 'version':project.version, 'mcversion': '1.14'
|
||||
}
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include "fabric.mod.json"
|
||||
expand "version": project.version
|
||||
}
|
||||
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'META_INF/mods.toml'
|
||||
}
|
||||
|
||||
rename '(.+_at.cfg)', 'META-INF/$1'
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude "fabric.mod.json"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
jar {
|
||||
exclude "**/*.psd"
|
||||
classifier = 'universal'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue