You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.1 KiB
46 lines
1.1 KiB
7 months ago
|
apply plugin: 'com.android.application'
|
||
|
|
||
|
String SDK_DIR = System.getenv("ANDROID_HOME")
|
||
|
android {
|
||
|
compileSdkVersion 29
|
||
|
|
||
|
defaultConfig {
|
||
|
applicationId "com.huanglong.gallery"
|
||
|
minSdkVersion 29
|
||
|
targetSdkVersion 29
|
||
|
versionCode 1
|
||
|
versionName "1.0"
|
||
|
ndk.abiFilters "arm64-v8a", "armeabi-v7a"
|
||
|
}
|
||
|
buildTypes {
|
||
|
release {
|
||
|
minifyEnabled false
|
||
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
||
|
signingConfig signingConfigs.debug
|
||
|
}
|
||
|
}
|
||
|
|
||
|
lintOptions {
|
||
|
checkReleaseBuilds false
|
||
|
abortOnError false
|
||
|
}
|
||
|
compileOptions {
|
||
|
sourceCompatibility JavaVersion.VERSION_1_8
|
||
|
targetCompatibility JavaVersion.VERSION_1_8
|
||
|
}
|
||
|
applicationVariants.all { variant ->
|
||
|
variant.outputs.all {
|
||
|
outputFileName = "GalleryLDemo.apk"
|
||
|
}
|
||
|
}
|
||
|
sourceSets {
|
||
|
main {
|
||
|
jniLibs.srcDirs = ['libs']
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
dependencies {
|
||
|
compile files('../../../../binary/packages/GalleryCore/gallerycore.jar')
|
||
|
}
|