Fixing the mcmod.info file again
This commit is contained in:
parent
6289d732e9
commit
fbe5bfd915
1 changed files with 0 additions and 25 deletions
25
build.gradle
25
build.gradle
|
@ -65,9 +65,6 @@ if (ENV.BUILD_NUMBER) {
|
|||
minecraft {
|
||||
version = "1.7.10-10.13.3.1403-1.7.10"
|
||||
replace "@MODVERSION@", project.version
|
||||
replaceIn "ModInfo.java"
|
||||
replaceIn "package-info.java"
|
||||
replaceIn "mcmod.info"
|
||||
}
|
||||
|
||||
group = 'TechReborn'
|
||||
|
@ -109,28 +106,6 @@ dependencies {
|
|||
compile "com.github.azanor:baubles:1.0.1.10:deobf@jar"
|
||||
}
|
||||
|
||||
processResources
|
||||
{
|
||||
// this will ensure that this task is redone when the versions change.
|
||||
inputs.property "@MODVERSION@", project.version
|
||||
inputs.property "mcversion", project.minecraft.version
|
||||
|
||||
// replace stuff in mcmod.info, nothing else
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'mcmod.info'
|
||||
include 'package-info.java'
|
||||
|
||||
// replace version and mcversion
|
||||
expand 'version':project.version, 'mcversion':project.minecraft.version
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
exclude 'mcmod.info'
|
||||
exclude 'package-info.java'
|
||||
}
|
||||
}
|
||||
|
||||
task sourceJar(type: Jar) {
|
||||
from sourceSets.main.allSource
|
||||
appendix = 'src'
|
||||
|
|
Loading…
Add table
Reference in a new issue