diff options
Diffstat (limited to 'android')
| -rw-r--r-- | android/build.gradle | 56 | 
1 files changed, 1 insertions, 55 deletions
| diff --git a/android/build.gradle b/android/build.gradle index b4345bf..15cedc1 100644 --- a/android/build.gradle +++ b/android/build.gradle @@ -24,7 +24,7 @@ tasks.withType(com.android.build.gradle.tasks.PackageApplication) { pkgTask ->  // called every time gradle gets executed, takes the native dependencies of  // the natives configuration, and extracts them to the proper libs/ folders  // so they get packed with the APK. -task copyAndroidNatives() {  +task copyAndroidNatives() {      file("libs/armeabi/").mkdirs();      file("libs/armeabi-v7a/").mkdirs();      file("libs/x86/").mkdirs(); @@ -65,57 +65,3 @@ task run(type: Exec) {      def adb = path + "/platform-tools/adb"      commandLine "$adb", 'shell', 'am', 'start', '-n', 'ch.asynk.rustanddust.android/ch.asynk.rustanddust.android.AndroidLauncher'  } - -// sets up the Android Eclipse project, using the old Ant based build. -eclipse { -    // need to specify Java source sets explicitely, SpringSource Gradle Eclipse plugin -    // ignores any nodes added in classpath.file.withXml -    sourceSets { -        main { -            java.srcDirs "src", 'gen' -        } -    } - -    jdt { -        sourceCompatibility = 1.7 -        targetCompatibility = 1.6 -    } - -    classpath { -        plusConfigurations += project.configurations.compile         -        containers 'com.android.ide.eclipse.adt.ANDROID_FRAMEWORK', 'com.android.ide.eclipse.adt.LIBRARIES'        -    } - -    project { -        name = appName + "-android" -        natures 'com.android.ide.eclipse.adt.AndroidNature' -        buildCommands.clear(); -        buildCommand "com.android.ide.eclipse.adt.ResourceManagerBuilder" -        buildCommand "com.android.ide.eclipse.adt.PreCompilerBuilder" -        buildCommand "org.eclipse.jdt.core.javabuilder" -        buildCommand "com.android.ide.eclipse.adt.ApkBuilder" -    } -} - -// sets up the Android Idea project, using the old Ant based build. -idea { -    module { -        sourceDirs += file("src"); -        scopes = [ COMPILE: [plus:[project.configurations.compile]]]         - -        iml { -            withXml { -                def node = it.asNode() -                def builder = NodeBuilder.newInstance(); -                builder.current = node; -                builder.component(name: "FacetManager") { -                    facet(type: "android", name: "Android") { -                        configuration { -                            option(name: "UPDATE_PROPERTY_FILES", value:"true") -                        } -                    } -                } -            } -        } -    } -} | 
