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.3 KiB

apply plugin: 'com.android.application'
String SDK_DIR = System.getenv("ANDROID_HOME")
android {
compileSdkVersion 29
aaptOptions.cruncherEnabled = false
aaptOptions.useNewCruncher = false
defaultConfig {
applicationId "com.huanglong.explorer"
minSdkVersion 29
targetSdkVersion 29
versionCode 1
versionName "1.0"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
}
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 = "FileManagerDemo.apk"
}
}
}
dependencies {
String frameworkPath = "${SDK_DIR}/platforms/android-29/framework.jar";
compileOnly files(frameworkPath)
compile 'com.android.support:support-v4:26.0.0-alpha1'
}