|
|
|
@ -17,8 +17,8 @@ def version = "3." + releaseTime() |
|
|
|
|
def gitCommits = Integer.parseInt('git rev-list HEAD --count'.execute().text.trim()) |
|
|
|
|
|
|
|
|
|
android { |
|
|
|
|
compileSdkVersion 33 |
|
|
|
|
buildToolsVersion "33.0.0" |
|
|
|
|
compileSdkVersion 32 |
|
|
|
|
buildToolsVersion "32.0.0" |
|
|
|
|
namespace 'io.legado.app' |
|
|
|
|
kotlinOptions { |
|
|
|
|
jvmTarget = "11" |
|
|
|
@ -41,7 +41,7 @@ android { |
|
|
|
|
defaultConfig { |
|
|
|
|
applicationId "io.legado.app" |
|
|
|
|
minSdkVersion 21 |
|
|
|
|
targetSdkVersion 33 |
|
|
|
|
targetSdkVersion 32 |
|
|
|
|
versionCode 10000 + gitCommits |
|
|
|
|
versionName version |
|
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
|
|
|
@ -131,7 +131,7 @@ resourcePlaceholders { |
|
|
|
|
|
|
|
|
|
dependencies { |
|
|
|
|
//noinspection GradleDependency |
|
|
|
|
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.2.2') |
|
|
|
|
coreLibraryDesugaring('com.android.tools:desugar_jdk_libs:1.1.6') |
|
|
|
|
testImplementation('junit:junit:4.13.2') |
|
|
|
|
androidTestImplementation('androidx.test:runner:1.4.0') |
|
|
|
|
androidTestImplementation('androidx.test.espresso:espresso-core:3.4.0') |
|
|
|
@ -152,7 +152,7 @@ dependencies { |
|
|
|
|
implementation('com.github.android:renderscript-intrinsics-replacement-toolkit:b6363490c3') |
|
|
|
|
|
|
|
|
|
//androidX |
|
|
|
|
implementation('androidx.core:core-ktx:1.9.0') |
|
|
|
|
implementation('androidx.core:core-ktx:1.8.0') |
|
|
|
|
implementation('androidx.appcompat:appcompat:1.5.1') |
|
|
|
|
implementation('androidx.activity:activity-ktx:1.5.1') |
|
|
|
|
implementation('androidx.fragment:fragment-ktx:1.5.2') |
|
|
|
|