diff --git a/build.gradle b/build.gradle index 8c9b4c2..4039954 100644 --- a/build.gradle +++ b/build.gradle @@ -37,7 +37,21 @@ minecraft { mappings = "${config.forge_mappings}" } +configurations { + shade + compile.extendsFrom shade +} + dependencies { + shade 'org.apache.httpcomponents:httpclient:4.3.3' +} + +jar { + configurations.shade.each { dep -> + from(project.zipTree(dep)){ + exclude 'META-INF', 'META-INF/**' + } + } } processResources diff --git a/build.properties b/build.properties index ca14537..c3d7857 100644 --- a/build.properties +++ b/build.properties @@ -1,4 +1,4 @@ -mod_version=1.0-alpha1 +mod_version=1.0-alpha1-hf1 mod_name=GTams mod_id=gtams mod_group=net.teamio.gtams