Re-enable Source jar creation
That PR was merged a few weeks back. Also add the version the binaries were built on to the manifest
This commit is contained in:
parent
e0111d4f7e
commit
75d9a84194
|
@ -46,8 +46,6 @@ dependencies {
|
||||||
minecraft {
|
minecraft {
|
||||||
version = "${mc_version}-${forge_version}"
|
version = "${mc_version}-${forge_version}"
|
||||||
runDir = "run"
|
runDir = "run"
|
||||||
|
|
||||||
makeObfSourceJar = false // Until #295 gets merged into FG2.1
|
|
||||||
|
|
||||||
replace "@VERSION@", project.version
|
replace "@VERSION@", project.version
|
||||||
replaceIn "Constants.java"
|
replaceIn "Constants.java"
|
||||||
|
@ -94,7 +92,8 @@ jar {
|
||||||
"Created-By": "${System.getProperty('java.vm.version')} + (${System.getProperty('java.vm.vendor')})",
|
"Created-By": "${System.getProperty('java.vm.version')} + (${System.getProperty('java.vm.vendor')})",
|
||||||
"Implementation-Title": project.name,
|
"Implementation-Title": project.name,
|
||||||
"Implementation-Version": project.version,
|
"Implementation-Version": project.version,
|
||||||
"Git-Hash": gitHash
|
"Git-Hash": gitHash,
|
||||||
|
"Built-On": "${mc_version}-${forge_version}"
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -129,6 +128,7 @@ publishing {
|
||||||
mavenJava(MavenPublication) {
|
mavenJava(MavenPublication) {
|
||||||
artifact jar
|
artifact jar
|
||||||
artifact javadocJar
|
artifact javadocJar
|
||||||
|
artifact sourceJar
|
||||||
artifact apiJar
|
artifact apiJar
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -151,6 +151,7 @@ curseforge {
|
||||||
releaseType = 'alpha'
|
releaseType = 'alpha'
|
||||||
|
|
||||||
addArtifact javadocJar
|
addArtifact javadocJar
|
||||||
|
addArtifact sourceJar
|
||||||
addArtifact apiJar
|
addArtifact apiJar
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue