Fix version reporting for Forge 1.13.2
This commit is contained in:
parent
2c8ae6fb16
commit
95493d59b1
6 changed files with 12 additions and 35 deletions
|
|
@ -25,8 +25,8 @@ targetCompatibility = 1.8
|
|||
ext.buildNumber = System.getenv().BUILD_NUMBER ?: "Dev"
|
||||
|
||||
minecraft {
|
||||
mappings channel: 'stable', version: '47-1.13.2'
|
||||
runs {
|
||||
mappings channel: 'stable', version: '47-1.13.2'
|
||||
runs {
|
||||
server {
|
||||
workingDirectory project.file('run').canonicalPath
|
||||
}
|
||||
|
|
@ -44,12 +44,15 @@ processResources
|
|||
include 'META-INF/mods.toml'
|
||||
|
||||
// replace version and mcversion
|
||||
expand version: project.version + '-' + project.ext.buildNumber
|
||||
expand(
|
||||
version: project.version + '-' + project.ext.buildNumber,
|
||||
mcversion: "1.13.2"
|
||||
)
|
||||
}
|
||||
|
||||
// copy everything else, thats not the mcmod.info
|
||||
from(sourceSets.main.resources.srcDirs) {
|
||||
include 'META-INF/mods.toml'
|
||||
exclude 'META-INF/mods.toml'
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue