Version bump to 1.0.2 + obf jar attempt

This commit is contained in:
Raoul Van den Berge
2016-09-13 22:22:32 +02:00
parent 7fec39d955
commit 6eaa13741c
3 changed files with 10 additions and 5 deletions

View File

@@ -20,7 +20,7 @@ apply plugin: 'maven'
apply plugin: 'maven-publish' apply plugin: 'maven-publish'
apply plugin: 'net.minecraftforge.gradle.forge' apply plugin: 'net.minecraftforge.gradle.forge'
version = "1.0.1" version = "1.0.2"
group = "refinedstorage" group = "refinedstorage"
archivesBaseName = "refinedstorage" archivesBaseName = "refinedstorage"
@@ -72,6 +72,11 @@ processResources {
} }
} }
task obfJar(type: Jar, dependsOn: 'reobfJar') {
from sourceSets.main.output
classifier 'obf'
}
task deobfJar(type: Jar) { task deobfJar(type: Jar) {
from sourceSets.main.output from sourceSets.main.output
classifier 'deobf' classifier 'deobf'
@@ -85,7 +90,7 @@ task apiJar(type: Jar, dependsOn: 'sourceMainJava') {
} }
artifacts { artifacts {
archives deobfJar, apiJar archives obfJar, deobfJar, apiJar
} }
publishing { publishing {
@@ -94,7 +99,7 @@ publishing {
groupId = project.group groupId = project.group
artifactId = project.archivesBaseName artifactId = project.archivesBaseName
version = project.version + '-' + System.getenv('TRAVIS_BUILD_NUMBER') version = project.version + '-' + System.getenv('TRAVIS_BUILD_NUMBER')
artifact source: jar, classifier: null, extension: 'jar' artifact obfJar
artifact deobfJar artifact deobfJar
artifact apiJar artifact apiJar
} }

View File

@@ -19,7 +19,7 @@ import refinedstorage.proxy.CommonProxy;
@Mod(modid = RefinedStorage.ID, version = RefinedStorage.VERSION, dependencies = RefinedStorage.DEPENDENCIES) @Mod(modid = RefinedStorage.ID, version = RefinedStorage.VERSION, dependencies = RefinedStorage.DEPENDENCIES)
public final class RefinedStorage { public final class RefinedStorage {
public static final String ID = "refinedstorage"; public static final String ID = "refinedstorage";
public static final String VERSION = "1.0.1"; public static final String VERSION = "1.0.2";
public static final String DEPENDENCIES = "required-after:mcmultipart@[1.2.1,);"; public static final String DEPENDENCIES = "required-after:mcmultipart@[1.2.1,);";
@SidedProxy(clientSide = "refinedstorage.proxy.ClientProxy", serverSide = "refinedstorage.proxy.ServerProxy") @SidedProxy(clientSide = "refinedstorage.proxy.ClientProxy", serverSide = "refinedstorage.proxy.ServerProxy")

View File

@@ -3,7 +3,7 @@
"modid": "refinedstorage", "modid": "refinedstorage",
"name": "Refined Storage", "name": "Refined Storage",
"description": "A Minecraft mod all about storage.", "description": "A Minecraft mod all about storage.",
"version": "1.0.1", "version": "1.0.2",
"mcversion": "1.10.2", "mcversion": "1.10.2",
"url": "", "url": "",
"updateUrl": "", "updateUrl": "",