diff --git a/vtm-ios-example/build.gradle b/vtm-ios-example/build.gradle index f7118c7a..dfbef370 100644 --- a/vtm-ios-example/build.gradle +++ b/vtm-ios-example/build.gradle @@ -8,15 +8,12 @@ buildscript { } apply plugin: 'java' -apply plugin: 'maven' apply plugin: 'robovm' sourceSets.main.java.srcDirs = ["src/"] [compileJava, compileTestJava]*.options*.encoding = 'UTF-8' -configurations {natives} - ext { // Configure your application main class mainClassName = "org.oscim.ios.RoboVmLauncher" @@ -33,7 +30,6 @@ dependencies { compile project(':vtm-gdx') compile project(':vtm-jts') compile project(':vtm-ios') -// natives project(':vtm-ios') compile "com.badlogicgames.gdx:gdx-platform:$gdxVersion:natives-ios" compile "com.badlogicgames.gdx:gdx-backend-robovm:$gdxVersion" compile "com.mobidevelop.robovm:robovm-rt:$roboVMVersion" @@ -61,7 +57,6 @@ task copyIosNatives(type: Copy) { into("${buildDir}/natives/") } - tasks.withType(JavaCompile) { compileTask -> compileTask.dependsOn copyVtmResources } @@ -77,27 +72,3 @@ tasks.withType(JavaCompile) { tasks.withType(JavaCompile) { compileTask -> compileTask.dependsOn copyIosNatives } - -task nativesJar(type: Jar) { - classifier = 'natives' - from('natives') -} - -task fatJar(type: Jar, dependsOn: classes) { - classifier = 'jar-with-dependencies' - from { configurations.compile.collect { it.isDirectory() ? it : zipTree(it) } } - from('natives') - exclude 'META-INF/*.DSA', 'META-INF/*.RSA', 'META-INF/*.SF' - with jar -} - -artifacts { - archives nativesJar - //archives fatJar -} - -if (project.hasProperty("SONATYPE_USERNAME")) { - afterEvaluate { - project.apply from: "${rootProject.projectDir}/deploy.gradle" - } -}