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.
30 lines
672 B
30 lines
672 B
apply plugin: 'com.android.application'
|
|
|
|
android {
|
|
namespace "net.micode.notes"
|
|
compileSdkVersion 30
|
|
buildToolsVersion "34.0.0"
|
|
useLibrary 'org.apache.http.legacy'
|
|
defaultConfig {
|
|
applicationId "net.micode.notes"
|
|
minSdkVersion 14
|
|
targetSdkVersion 29
|
|
}
|
|
|
|
buildTypes {
|
|
release {
|
|
minifyEnabled false
|
|
proguardFiles getDefaultProguardFile('proguard-android.txt'), 'proguard-rules.txt'
|
|
}
|
|
}
|
|
}
|
|
android {
|
|
// ...
|
|
lintOptions {
|
|
checkReleaseBuilds false
|
|
// 添加以下代码
|
|
checkTestSources false
|
|
lintConfig file("lint.xml")
|
|
// ...
|
|
}
|
|
} |