diff --git a/build.gradle b/build.gradle index a2ac47216..1efb55f47 100644 --- a/build.gradle +++ b/build.gradle @@ -44,25 +44,46 @@ dependencies { } } +//task sourceJar(type: Jar) { +// from sourceSets.main.allSource +// classifier = 'sources' +//} +// +//task deobfJar(type: Jar) { +// from sourceSets.main.output +// classifier = 'dev' +//} +// +//task coreJar(type: Jar) { +// from sourceSets.main.output +// include 'core/' +// classifier = 'core' +//} + +//jar.dependsOn sourceJar, deobfJar, coreJar + +//artifacts { +// // the default jar is already here by default +// archives sourceJar +// archives deobfJar +//} task updateVersion(type:Copy){ - ant.propertyfile(file: versionFile) - { + ant.propertyfile(file: versionFile) { entry(key: 'build', type: 'int', operation: '+', value: 001) } - from(sourceSets.main.java.srcDirs) - { + from(sourceSets.main.java.srcDirs){ exclude 'mcmod.info' } into 'build/sources/java' filter(ReplaceTokens, tokens: [VERSION: project.version]) } + compileJava.dependsOn updateVersion -processResources -{ +processResources{ // replace stuff in mcmod.info, nothing else from(sourceSets.main.resources.srcDirs) { include 'mcmod.info' @@ -76,3 +97,6 @@ processResources exclude 'mcmod.info' } } + + + diff --git a/gradle.properties b/gradle.properties index b097174c7..c23deb101 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -#Mon, 16 Jun 2014 12:42:38 -0600 +#Mon, 16 Jun 2014 13:13:50 -0600 major=2 minor=0 build=33 diff --git a/releases/dev/ancientwarfare-2.0.32-alpha-MC1.7.2.jar b/releases/dev/ancientwarfare-2.0.32-alpha-MC1.7.2.jar new file mode 100644 index 000000000..5f11836ea Binary files /dev/null and b/releases/dev/ancientwarfare-2.0.32-alpha-MC1.7.2.jar differ