diff --git a/app/build.gradle b/app/build.gradle index 27e1c868c..09cd486d7 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -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" } diff --git a/epublib/build.gradle b/epublib/build.gradle index 9dbb6e226..af91ae7ed 100644 --- a/epublib/build.gradle +++ b/epublib/build.gradle @@ -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 {