apply plugin: 'com.android.application' android { compileSdkVersion PROP_COMPILE_SDK_VERSION.toInteger() buildToolsVersion PROP_BUILD_TOOLS_VERSION compileOptions { sourceCompatibility JavaVersion.VERSION_1_8 targetCompatibility JavaVersion.VERSION_1_8 } defaultConfig { applicationId "cx3.blank.demo" minSdkVersion PROP_MIN_SDK_VERSION targetSdkVersion PROP_TARGET_SDK_VERSION versionCode 1 versionName "1.0" } packagingOptions { exclude 'META-INF/LICENSE' } sourceSets.main { manifest.srcFile "AndroidManifest.xml" java.srcDirs "src" res.srcDirs "res" jniLibs.srcDirs = ["libs", "../../../../cx-framework3.1/cocos3-libs/cocos3-libso/build/app/intermediates/cmake/release/obj"] assets.srcDirs = ['../../assets', '../../boot', '../../statics'] } signingConfigs { release { if (project.hasProperty("RELEASE_STORE_FILE")) { storeFile file(RELEASE_STORE_FILE) storePassword RELEASE_STORE_PASSWORD keyAlias RELEASE_KEY_ALIAS keyPassword RELEASE_KEY_PASSWORD } } } buildTypes { release { debuggable false jniDebuggable false renderscriptDebuggable false minifyEnabled true shrinkResources true proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.pro' if (project.hasProperty("RELEASE_STORE_FILE")) { signingConfig signingConfigs.release } } debug { debuggable true jniDebuggable true renderscriptDebuggable true } } } dependencies { implementation fileTree(dir: 'libs', include: ['*.jar','*.aar']) implementation project(':libcc') implementation 'com.amap.api:location:latest.integration' // implementation 'com.android.support:appcompat-v7:28.0.0' }