summaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorYves <yvesf-git@xapek.org>2015-03-09 22:24:48 +0100
committerYves <yvesf-git@xapek.org>2015-03-09 22:24:48 +0100
commit1fe7a0202dc7570cb289c3f8d40d8b59797a966c (patch)
tree88dd38fd77e11ffb276a7e08f7e1b81479e2060c /build.gradle
parentf08ea668c3059995ea390ab566bd25f3a68b0ef1 (diff)
parent23d9368d169b2ce355b68711b0de3e77f742bedb (diff)
downloadandiodine-1fe7a0202dc7570cb289c3f8d40d8b59797a966c.tar.gz
andiodine-1fe7a0202dc7570cb289c3f8d40d8b59797a966c.zip
Merge pull request #15 from 2m/wip-gradle-build
Gradle build
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle33
1 files changed, 33 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..b15b3e1
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,33 @@
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+
+ dependencies {
+ classpath 'com.android.tools.build:gradle:1.1.3'
+ }
+}
+
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 15
+ buildToolsVersion "21.1.2"
+
+ sourceSets.main {
+ jniLibs.srcDir 'libs'
+ }
+
+ productFlavors {
+ arm {
+ ndk {
+ abiFilters "armeabi"
+ }
+ }
+ x86 {
+ ndk {
+ abiFilter "x86"
+ }
+ }
+ }
+}