• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1/**
2 * The default build is with CMake Plugin.
3 * If Android.mk build system is required, src/main/cpp/Android.mk is
4 * a workable, just add hooks to this file to replace cmake at the "cmake"
5 * location.
6 */
7
8apply plugin: 'com.android.application'
9
10android {
11        compileSdkVersion 28
12
13        defaultConfig {
14            applicationId 'org.drrickorang.loopback'
15            minSdkVersion 14
16            targetSdkVersion  26
17            externalNativeBuild.cmake {
18                arguments "-DANDROID_STL=c++_static"
19            }
20        }
21
22	externalNativeBuild {
23	    cmake {
24	        path 'src/main/cpp/CMakeLists.txt'
25	    }
26	}
27
28        buildTypes {
29            release {
30                minifyEnabled false
31                proguardFiles.add file('proguard.cfg')
32            }
33    }
34}
35
36dependencies {
37    implementation 'androidx.appcompat:appcompat:1.0.0-rc02'
38}
39