diff --git a/build.gradle b/build.gradle index 534c5f3..3fce39c 100644 --- a/build.gradle +++ b/build.gradle @@ -11,7 +11,7 @@ apply plugin: 'net.minecraftforge.gradle.forge' //Only edit below this line, the above code adds and enables the necessary things for Forge to be setup. -version = "2.0.9" +version = "2.0.10" group = "lumien.custommainmenu" // http://maven.apache.org/guides/mini/guide-naming-conventions.html sourceCompatibility = targetCompatibility = '1.8' // Need this here so eclipse task generates correctly. @@ -37,28 +37,13 @@ minecraft { archivesBaseName = "CustomMainMenu-MC" + minecraft.version -dependencies { - // you may put jars on which you depend on in ./libs - // or you may define them like so.. - //compile "some.group:artifact:version:classifier" - //compile "some.group:artifact:version" - - // real examples - //compile 'com.mod-buildcraft:buildcraft:6.0.8:dev' // adds buildcraft to the dev env - //compile 'com.googlecode.efficient-java-matrix-library:ejml:0.24' // adds ejml to the dev env - - // the 'provided' configuration is for optional dependencies that exist at compile-time but might not at runtime. - //provided 'com.mod-buildcraft:buildcraft:6.0.8:dev' - - // the deobf configurations: 'deobfCompile' and 'deobfProvided' are the same as the normal compile and provided, - // except that these dependencies get remapped to your current MCP mappings - //deobfCompile 'com.mod-buildcraft:buildcraft:6.0.8:dev' - //deobfProvided 'com.mod-buildcraft:buildcraft:6.0.8:dev' - - // for more info... - // http://www.gradle.org/docs/current/userguide/artifact_dependencies_tutorial.html - // http://www.gradle.org/docs/current/userguide/dependency_management.html +configurations { + embed + compile.extendsFrom(embed) +} +dependencies { + embed files("libs/japng-0.5.1.jar") } processResources { @@ -79,3 +64,7 @@ processResources { exclude 'mcmod.info' } } + +jar { + from configurations.embed.collect { it.isDirectory() ? it : zipTree(it) } +} diff --git a/gradlew b/gradlew old mode 100644 new mode 100755 diff --git a/libs/japng-0.5.1.jar b/libs/japng-0.5.1.jar new file mode 100644 index 0000000..7c478af Binary files /dev/null and b/libs/japng-0.5.1.jar differ