mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-23 09:37:54 +01:00
Use semantic version for fabric
This commit is contained in:
parent
fe59fa5a66
commit
1f485cfbe5
@ -42,6 +42,7 @@ allprojects {
|
||||
ext.minorVersion = '6'
|
||||
ext.buildVersion = buildVersion
|
||||
ext.fullVersion = project.ext.majorVersion + '.' + project.ext.minorVersion + ' build ' + project.ext.buildVersion
|
||||
ext.fullVersionSemantic = project.ext.majorVersion + '.' + project.ext.minorVersion + '+build.' + project.ext.buildVersion
|
||||
|
||||
// Fix for UTF-8 files showing with wrong encoding when compiled on Windows machines.
|
||||
compileJava { options.encoding = "UTF-8" }
|
||||
@ -49,7 +50,7 @@ allprojects {
|
||||
javadoc { options.encoding = 'UTF-8' }
|
||||
}
|
||||
|
||||
logger.lifecycle("Building artifact for version $fullVersion")
|
||||
logger.lifecycle("Building artifact for version $fullVersion / $fullVersionSemantic")
|
||||
|
||||
subprojects {
|
||||
// Build plugins
|
||||
|
@ -43,7 +43,7 @@ processResources {
|
||||
inputs.property "version", project.ext.fullVersion
|
||||
|
||||
filesMatching("fabric.mod.json") {
|
||||
expand "version": project.ext.fullVersion
|
||||
expand "version": project.ext.fullVersionSemantic
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user