summaryrefslogtreecommitdiff
path: root/CMake/Android/app.build.gradle.in
diff options
context:
space:
mode:
Diffstat (limited to 'CMake/Android/app.build.gradle.in')
-rw-r--r--CMake/Android/app.build.gradle.in26
1 files changed, 26 insertions, 0 deletions
diff --git a/CMake/Android/app.build.gradle.in b/CMake/Android/app.build.gradle.in
new file mode 100644
index 000000000..dd66c8d93
--- /dev/null
+++ b/CMake/Android/app.build.gradle.in
@@ -0,0 +1,26 @@
+apply plugin: 'com.android.application'
+
+ android {
+ compileSdkVersion 25
+
+ defaultConfig {
+ applicationId 'org.fltk.android_hello'
+ minSdkVersion 14
+ targetSdkVersion 25
+ externalNativeBuild {
+ cmake {
+ arguments '-DANDROID_STL=c++_shared'
+ }
+ }
+ }
+ buildTypes {
+ release {
+ minifyEnabled false
+ }
+ }
+ externalNativeBuild {
+ cmake {
+ path 'src/main/cpp/CMakeLists.txt'
+ }
+ }
+ }