|
|
@ -14,8 +14,8 @@ def version = "3." + releaseTime() |
|
|
|
def gitCommits = Integer.parseInt('git rev-list --count HEAD'.execute([], project.rootDir).text.trim()) |
|
|
|
def gitCommits = Integer.parseInt('git rev-list --count HEAD'.execute([], project.rootDir).text.trim()) |
|
|
|
|
|
|
|
|
|
|
|
android { |
|
|
|
android { |
|
|
|
compileSdkVersion 30 |
|
|
|
compileSdkVersion 31 |
|
|
|
buildToolsVersion '30.0.3' |
|
|
|
buildToolsVersion '31.0.0' |
|
|
|
kotlinOptions { |
|
|
|
kotlinOptions { |
|
|
|
jvmTarget = "11" |
|
|
|
jvmTarget = "11" |
|
|
|
} |
|
|
|
} |
|
|
@ -34,7 +34,7 @@ android { |
|
|
|
defaultConfig { |
|
|
|
defaultConfig { |
|
|
|
applicationId "io.legado.app" |
|
|
|
applicationId "io.legado.app" |
|
|
|
minSdkVersion 21 |
|
|
|
minSdkVersion 21 |
|
|
|
targetSdkVersion 30 |
|
|
|
targetSdkVersion 31 |
|
|
|
versionCode gitCommits |
|
|
|
versionCode gitCommits |
|
|
|
versionName version |
|
|
|
versionName version |
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
|
|
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" |
|
|
|