pull/1901/head
ag2s20150909 3 years ago
parent de13d0942b
commit 1d0c12c694
  1. 6
      app/build.gradle
  2. 8
      epublib/build.gradle

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

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

Loading…
Cancel
Save