This commit is contained in:
ag2s20150909 2022-05-24 00:40:48 +08:00
parent de13d0942b
commit 1d0c12c694
2 changed files with 8 additions and 6 deletions

View File

@ -23,9 +23,6 @@ android {
kotlinOptions {
jvmTarget = "11"
}
lintOptions{
checkDependencies true
}
signingConfigs {
if (project.hasProperty("RELEASE_STORE_FILE")) {
@ -120,6 +117,9 @@ android {
// Adds exported schema location as test app assets.
androidTest.assets.srcDirs += files("$projectDir/schemas".toString())
}
lint {
checkDependencies true
}
tasks.withType(JavaCompile) {
//options.compilerArgs << "-Xlint:unchecked"
}

View File

@ -6,9 +6,6 @@ android {
compileSdkVersion 32
buildToolsVersion '32.0.0'
namespace 'me.ag2s.epublib'
lintOptions{
checkDependencies true
}
defaultConfig {
minSdkVersion 21
targetSdkVersion 32
@ -22,12 +19,17 @@ android {
minifyEnabled false
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
android {
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}
lint {
checkDependencies true
}
}
dependencies {