From 1d0c12c6949a4915ecff96cfd34730730ae943ea Mon Sep 17 00:00:00 2001 From: ag2s20150909 Date: Tue, 24 May 2022 00:40:48 +0800 Subject: [PATCH] update --- app/build.gradle | 6 +++--- epublib/build.gradle | 8 +++++--- 2 files changed, 8 insertions(+), 6 deletions(-) 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 {