mirror of
https://github.com/LegacyModdingMC/UniMix.git
synced 2026-11-21 11:32:13 +00:00
Update version in build script to 0.2
This commit is contained in:
1 parent
1f06361863
commit
c6a83b49d8
1 file changed
+8
-2
+8
-2
@@ -24,7 +24,7 @@ defaultTasks 'licenseFormat', 'check', 'build'
|
||||
// Basic project information
|
||||
group = 'org.spongepowered'
|
||||
archivesBaseName = 'mixin'
|
||||
version = '0.1-SNAPSHOT'
|
||||
version = '0.2-SNAPSHOT'
|
||||
|
||||
// Extended project information
|
||||
ext.projectName = 'Mixin'
|
||||
@@ -160,11 +160,17 @@ shadowJar {
|
||||
include(dependency('net.minecraftforge.srg2source:Srg2Source'))
|
||||
include(dependency('net.sf.jopt-simple:jopt-simple'))
|
||||
}
|
||||
// classifier = new Date().format('yyyyMMddHHmmss') // for dev
|
||||
classifier = 'processor'
|
||||
}
|
||||
build.dependsOn(shadowJar)
|
||||
|
||||
// Run this task instead of build to generate a timestamped shadow jar (for dev)
|
||||
task timestamp(type: Jar, dependsOn: build) {
|
||||
if (gradle.startParameter.taskNames.contains(name)) {
|
||||
shadowJar.classifier = new Date().format('yyyyMMddHHmmss')
|
||||
}
|
||||
}
|
||||
|
||||
task sourceJar(type: Jar) {
|
||||
from sourceSets.main.java
|
||||
from sourceSets.main.resources
|
||||
|
||||
Reference in new issue
Block a user