Specify build tools version

This commit is contained in:
tehcneko 2021-02-01 13:52:04 +08:00 committed by LoveSy
parent 8410c706cf
commit 5ce10caed6
4 changed files with 5 additions and 0 deletions

View File

@ -37,6 +37,8 @@ jobs:
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: "30.0.3"
- name: Upload signed apk
if: ${{ github.event_name != 'pull_request' && success() && github.ref == 'refs/heads/master' }}
uses: actions/upload-artifact@v2

View File

@ -4,6 +4,7 @@ android {
compileSdkVersion androidCompileSdkVersion.toInteger()
ndkVersion androidCompileNdkVersion
buildToolsVersion androidBuildToolsVersion
buildFeatures {
viewBinding = true

View File

@ -102,6 +102,7 @@ android {
}
}
ndkVersion androidCompileNdkVersion
buildToolsVersion androidBuildToolsVersion
compileOptions {
targetCompatibility JavaVersion.VERSION_1_7
sourceCompatibility JavaVersion.VERSION_1_7

View File

@ -13,6 +13,7 @@
#Sat Jan 30 19:20:27 CST 2021
androidTargetSdkVersion=30
androidCompileNdkVersion=22.0.7026061
androidBuildToolsVersion=30.0.3
apiCode=93
androidCompileSdkVersion=30
androidMinSdkVersion=26