android: Bump to gradle 8.0

This commit is contained in:
SachinVin 2023-06-11 17:58:18 +05:30
parent f5bb17c82e
commit c074460f60
5 changed files with 8 additions and 4 deletions

View file

@ -198,7 +198,7 @@ jobs:
sudo apt-get update -y
sudo apt-get install ccache glslang-dev glslang-tools apksigner -y
- name: Build
run: ./.ci/android/build.sh
run: JAVA_HOME=$JAVA_HOME_17_X64 ./.ci/android/build.sh
- name: Copy and sign artifacts
env:
ANDROID_KEYSTORE_B64: ${{ secrets.ANDROID_KEYSTORE_B64 }}

View file

@ -10,7 +10,7 @@ def buildType
def abiFilter = "arm64-v8a" //, "x86"
android {
compileSdkVersion 32
compileSdkVersion 33
ndkVersion "25.1.8937393"
compileOptions {
@ -100,6 +100,7 @@ android {
path "../../../CMakeLists.txt"
}
}
namespace 'org.citra.citra_emu'
defaultConfig {
externalNativeBuild {

View file

@ -8,7 +8,7 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.4.2'
classpath 'com.android.tools.build:gradle:8.0.2'
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files

View file

@ -14,3 +14,6 @@ org.gradle.jvmargs=-Xmx1536m
# http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects
# org.gradle.parallel=true
android.native.buildOutput=verbose
android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false
android.nonFinalResIds=false

View file

@ -3,4 +3,4 @@ distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.0-bin.zip