Files
archived-touchHLE/android/build.gradle
hikari_no_yume aa8cbb665c Bump Android Gradle Plugin and Gradle versions (and related changes)
I upgraded to Android Studio 2024.3.2 Patch 1 locally, and then:

- The AGP and Gradle versions were bumped using Android Studio's
  Upgrade Assistant. It also made some required config changes:
  - The package name was moved from AndroidManifest.xml to
    build.gradle
  - Some stuff was added to gradle.properties
- I updated the CI and build docs for these changes.
- The Kotlin plugin version was manually updated due to an
  incompatibility with the newer JDK bundled with Android Studio,
  as suggested here: https://stackoverflow.com/a/79167210
- JDK target versions for Java and Kotlin were specified in order
  to fix the newly-fatal error when they don't match.

Change-Id: I4a9e838cf4b3f8243fc66d4dc3a4e1b3194a8baf
2025-06-14 20:31:32 +02:00

42 lines
1.2 KiB
Groovy

/*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*
* Parts of this file are derived from SDL 2's Android project template, which
* has a different license. Please see vendor/SDL/LICENSE.txt for details.
*/
// Top-level build file where you can add configuration options common to all sub-projects/modules.
buildscript {
ext {
kotlin_version = '2.0.21'
}
repositories {
mavenCentral()
google()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath 'com.android.tools.build:gradle:8.10.1'
classpath "gradle.plugin.com.github.willir.rust:plugin:0.3.4"
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
}
}
allprojects {
repositories {
mavenCentral()
google()
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}