summaryrefslogtreecommitdiff
path: root/android/app/build.gradle
diff options
context:
space:
mode:
authorMichal Idziorek <m.i@gmx.at>2017-09-27 12:48:05 +0200
committerMichal Idziorek <m.i@gmx.at>2017-09-27 12:48:05 +0200
commit7d0068c6d2055edec21c883bbfb31d91846688e6 (patch)
treeab28bf65103682e43074ca85dafbc830b207889a /android/app/build.gradle
parent44cf354f43953fff2fe34c2888b57db5adc18a4b (diff)
experimenting with gradle build automation for android
Diffstat (limited to 'android/app/build.gradle')
-rw-r--r--android/app/build.gradle42
1 files changed, 42 insertions, 0 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle
new file mode 100644
index 0000000..915e441
--- /dev/null
+++ b/android/app/build.gradle
@@ -0,0 +1,42 @@
+apply plugin: 'com.android.application'
+
+android {
+ compileSdkVersion 26
+ buildToolsVersion "25.0.0"
+ defaultConfig {
+ applicationId "com.example.retard.myapplication"
+ minSdkVersion 14
+ targetSdkVersion 26
+ versionCode 1
+ versionName "1.0"
+ testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
+
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro'
+ }
+ }
+
+ productFlavors {
+ }
+
+
+ externalNativeBuild {
+ ndkBuild {
+ path './jni/Android.mk'
+ }
+ }
+}
+
+dependencies {
+ compile fileTree(include: ['*.jar'], dir: 'libs')
+ androidTestCompile('com.android.support.test.espresso:espresso-core:2.2.2', {
+ exclude group: 'com.android.support', module: 'support-annotations'
+ })
+ compile 'com.android.support:appcompat-v7:26.+'
+ compile 'com.android.support.constraint:constraint-layout:1.0.2'
+ compile 'com.android.support:design:26.+'
+ testCompile 'junit:junit:4.12'
+}