Skip to content

Commit

Permalink
Shade httpclient + httpcore as they seem to be missing on servers
Browse files Browse the repository at this point in the history
  • Loading branch information
founderio committed Aug 9, 2016
1 parent e8111d3 commit eeaef09
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion build.properties
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit eeaef09

Please sign in to comment.