Skip to content

Commit

Permalink
shade configurate, change group name to match class path
Browse files Browse the repository at this point in the history
  • Loading branch information
progwml6 committed Nov 1, 2015
1 parent f176b55 commit a4190ad
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 19 additions & 1 deletion build.gradle
Expand Up @@ -42,7 +42,7 @@ repositories {
}
}

group = 'mantle'
group = 'slimeknights.mantle'
sourceCompatibility = 1.7
targetCompatibility = 1.7

Expand Down Expand Up @@ -90,10 +90,19 @@ minecraft {
replace '${version}', project.version
}

configurations {
shade
compile.extendsFrom shade
}

dependencies {
compile "codechicken:CodeChickenLib:${config.minecraft_version}-${config.CCLIB_version}:dev"
compile "codechicken:CodeChickenCore:${config.minecraft_version}-${config.ccc_version}:dev"
compile "codechicken:NotEnoughItems:${config.minecraft_version}-${config.NEI_version}:dev"
// Configuration
shade "ninja.leaping.configurate:configurate-hocon:${config.configurate_version}"
shade "ninja.leaping.configurate:configurate-gson:${config.configurate_version}"

}

processResources
Expand All @@ -112,6 +121,15 @@ processResources
}
}

jar {
// Shading
configurations.shade.each { dep ->
from(project.zipTree(dep)){
exclude 'META-INF', 'META-INF/**'
}
}

}
// because the normal output has been made to be obfuscated
task deobfJar(type: Jar) {
from sourceSets.main.output
Expand Down
3 changes: 2 additions & 1 deletion build.properties
Expand Up @@ -5,4 +5,5 @@ mappings=snapshot_20150918

CCLIB_version=1.1.2.133
ccc_version=1.0.5.36
NEI_version=1.0.5.104
NEI_version=1.0.5.104
configurate_version=2.0

0 comments on commit a4190ad

Please sign in to comment.