1 apply plugin: 'com.android.model.application' 2 3 model { 4 android { 5 compileSdkVersion = 23 6 buildToolsVersion = "25.0" 7 8 defaultConfig.with { 9 applicationId = "org.drrickorang.loopback" 10 minSdkVersion.apiLevel = 11 11 targetSdkVersion.apiLevel = 23 12 } 13 ndk { 14 moduleName "loopback" 15 cppFlags.addAll "-I${project.rootDir}/app/src/main/jni".toString(), "-g" 16 CFlags.addAll "-I${project.rootDir}/app/src/main/jni".toString() 17 18 ldLibs.addAll "OpenSLES", "log" 19 } 20 buildTypes { 21 release { 22 minifyEnabled false 23 proguardFiles.add file('proguard.cfg') 24 } 25 debug { 26 ndk { 27 debuggable true 28 } 29 } 30 } } 31 32 33 } 34 35 dependencies { 36 compile 'com.android.support:appcompat-v7:23.0.1' 37 } 38