From ab8018c795425d6d30afe92b44bc2e9bd9d143bb Mon Sep 17 00:00:00 2001 From: hastarin Date: Thu, 23 May 2013 15:49:33 +1000 Subject: [PATCH] Setup support for Android Studio Preview --- .gitignore | 32 ++++++++++++++++-- mobile/.idea/.name | 1 + mobile/.idea/compiler.xml | 23 +++++++++++++ mobile/.idea/copyright/profiles_settings.xml | 5 +++ mobile/.idea/encodings.xml | 5 +++ mobile/.idea/misc.xml | 7 ++++ mobile/.idea/modules.xml | 9 +++++ mobile/.idea/scopes/scope_settings.xml | 5 +++ mobile/.idea/vcs.xml | 8 +++++ mobile/build.gradle | 35 ++++++++++++++++++++ mobile/mobile.iml | 24 ++++++++++++++ 11 files changed, 152 insertions(+), 2 deletions(-) create mode 100644 mobile/.idea/.name create mode 100644 mobile/.idea/compiler.xml create mode 100644 mobile/.idea/copyright/profiles_settings.xml create mode 100644 mobile/.idea/encodings.xml create mode 100644 mobile/.idea/misc.xml create mode 100644 mobile/.idea/modules.xml create mode 100644 mobile/.idea/scopes/scope_settings.xml create mode 100644 mobile/.idea/vcs.xml create mode 100644 mobile/build.gradle create mode 100644 mobile/mobile.iml diff --git a/.gitignore b/.gitignore index d2d07c24..60ba8b97 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,35 @@ -mobile/IngressIntelTC/bin build localbuildsettings.py *.pyc *.swp *~ -*.bak + +# built application files +*.apk +*.ap_ + +# files for the dex VM +*.dex + +# Java class files +*.class + +# generated files +mobile/bin/ +mobile/gen/ +mobile/out/ + +# Local configuration file (sdk path, etc) +local.properties + +# Eclipse project files +.classpath +.project + +# IntelliJ IDEA user settings +*.iws +mobile/.idea/workspace.xml +mobile/.idea/tasks.xml + +# Proguard logs +mobile/proguard_logs/ diff --git a/mobile/.idea/.name b/mobile/.idea/.name new file mode 100644 index 00000000..f01786c6 --- /dev/null +++ b/mobile/.idea/.name @@ -0,0 +1 @@ +IITC Mobile \ No newline at end of file diff --git a/mobile/.idea/compiler.xml b/mobile/.idea/compiler.xml new file mode 100644 index 00000000..217af471 --- /dev/null +++ b/mobile/.idea/compiler.xml @@ -0,0 +1,23 @@ + + + + + + diff --git a/mobile/.idea/copyright/profiles_settings.xml b/mobile/.idea/copyright/profiles_settings.xml new file mode 100644 index 00000000..3572571a --- /dev/null +++ b/mobile/.idea/copyright/profiles_settings.xml @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/mobile/.idea/encodings.xml b/mobile/.idea/encodings.xml new file mode 100644 index 00000000..e206d70d --- /dev/null +++ b/mobile/.idea/encodings.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/mobile/.idea/misc.xml b/mobile/.idea/misc.xml new file mode 100644 index 00000000..1e86ba3b --- /dev/null +++ b/mobile/.idea/misc.xml @@ -0,0 +1,7 @@ + + + + + + + diff --git a/mobile/.idea/modules.xml b/mobile/.idea/modules.xml new file mode 100644 index 00000000..16ec7d18 --- /dev/null +++ b/mobile/.idea/modules.xml @@ -0,0 +1,9 @@ + + + + + + + + + diff --git a/mobile/.idea/scopes/scope_settings.xml b/mobile/.idea/scopes/scope_settings.xml new file mode 100644 index 00000000..922003b8 --- /dev/null +++ b/mobile/.idea/scopes/scope_settings.xml @@ -0,0 +1,5 @@ + + + + \ No newline at end of file diff --git a/mobile/.idea/vcs.xml b/mobile/.idea/vcs.xml new file mode 100644 index 00000000..2e0588cc --- /dev/null +++ b/mobile/.idea/vcs.xml @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/mobile/build.gradle b/mobile/build.gradle new file mode 100644 index 00000000..2fa22689 --- /dev/null +++ b/mobile/build.gradle @@ -0,0 +1,35 @@ +buildscript { + repositories { + mavenCentral() + } + dependencies { + classpath 'com.android.tools.build:gradle:0.4' + } +} +apply plugin: 'android' + +dependencies { +} + +android { + compileSdkVersion 17 + buildToolsVersion "17" + + defaultConfig { + minSdkVersion 14 + targetSdkVersion 17 + } + sourceSets { + main { + manifest.srcFile 'AndroidManifest.xml' + java.srcDirs = ['src'] + resources.srcDirs = ['src'] + aidl.srcDirs = ['src'] + renderscript.srcDirs = ['src'] + res.srcDirs = ['res'] + assets.srcDirs = ['assets'] + } + + instrumentTest.setRoot('tests') + } +} diff --git a/mobile/mobile.iml b/mobile/mobile.iml new file mode 100644 index 00000000..33d9962c --- /dev/null +++ b/mobile/mobile.iml @@ -0,0 +1,24 @@ + + + + + + + MANIFEST_FILE_PATH + RESOURCES_DIR_PATH + ASSETS_DIR_PATH + NATIVE_LIBS_DIR_PATH + + + + + + + + + + + + + +