Include build number in version.
This commit is contained in:
17
build.gradle
17
build.gradle
@@ -33,6 +33,9 @@ minecraft {
|
||||
runDir = "run"
|
||||
useDepAts = true
|
||||
mappings = "snapshot_20180526"
|
||||
|
||||
replaceIn "RS.java"
|
||||
replace "@version@", project.version
|
||||
}
|
||||
|
||||
repositories {
|
||||
@@ -90,14 +93,12 @@ task apiJar(type: Jar, dependsOn: 'sourceMainJava') {
|
||||
}
|
||||
|
||||
task signJar(type: SignJar, dependsOn: reobfJar) {
|
||||
doLast {
|
||||
keyStore = project.property('keyStore')
|
||||
alias = project.property('keyStoreAlias')
|
||||
storePass = project.property('keyStorePass')
|
||||
keyPass = project.property('keyStoreKeyPass')
|
||||
inputFile = jar.archivePath
|
||||
outputFile = jar.archivePath
|
||||
}
|
||||
keyStore = project.property('keyStore')
|
||||
alias = project.property('keyStoreAlias')
|
||||
storePass = project.property('keyStorePass')
|
||||
keyPass = project.property('keyStoreKeyPass')
|
||||
inputFile = jar.archivePath
|
||||
outputFile = jar.archivePath
|
||||
}
|
||||
|
||||
signJar.onlyIf {
|
||||
|
@@ -23,7 +23,7 @@ public final class RS {
|
||||
}
|
||||
|
||||
public static final String ID = "refinedstorage";
|
||||
public static final String VERSION = "1.6";
|
||||
public static final String VERSION = "@version@";
|
||||
public static final String GUI_FACTORY = "com.raoulvdberge.refinedstorage.gui.config.ModGuiFactory";
|
||||
public static final String UPDATE_JSON = "https://refinedstorage.raoulvdberge.com/update";
|
||||
public static final String FINGERPRINT = "57893d5b90a7336e8c63fe1c1e1ce472c3d59578";
|
||||
|
@@ -3,7 +3,7 @@
|
||||
"modid": "refinedstorage",
|
||||
"name": "Refined Storage",
|
||||
"description": "An elegant solution to your hoarding problem",
|
||||
"version": "1.6",
|
||||
"version": "${version}",
|
||||
"mcversion": "1.12.2",
|
||||
"url": "https://refinedstorage.raoulvdberge.com",
|
||||
"updateUrl": "",
|
||||
|
Reference in New Issue
Block a user