Update Android project to use more recent tools

Tested manually on my Android 13 device
This commit is contained in:
Michał Janiszewski 2023-10-30 23:12:40 +01:00
parent f7b2fddbe3
commit 78f4860bfe
4 changed files with 6 additions and 6 deletions

View File

@ -2,7 +2,9 @@ apply plugin: 'com.android.application'
android {
compileSdkVersion 31
ndkVersion "23.1.7779620" // Latest r23b (LTS), to be synced with CI container image
buildToolsVersion "34.0.0"
ndkVersion "26.1.10909125" // Latest r26b (LTS), to be synced with CI container image
namespace "io.openrct2"
defaultConfig {
applicationId 'io.openrct2'
minSdkVersion 19
@ -31,7 +33,6 @@ android {
externalNativeBuild {
cmake {
path 'src/main/CMakeLists.txt'
version "3.18.1"
}
}

View File

@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="io.openrct2">
<manifest xmlns:android="http://schemas.android.com/apk/res/android">
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.INTERNET"/>

View File

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

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.3.2-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.4-bin.zip