Skip to content

Commit cc5a1c4

Browse files
committed
build: android: update agp to 8.12.1 and to gradle 8.14.3
1 parent 91b6f96 commit cc5a1c4

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

platforms/android/app/build.gradle

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ File getDiscordLib() {
294294
String target = getMesonBuildType() == 'release' ? 'release' : 'debug'
295295
String path = "../../../../subprojects/discord_social_sdk/lib/" + target + "/discord_partner_sdk.aar";
296296
File file = project.file(project.getLayout().getBuildDirectory().file(path));
297-
if(!file.exists()){
297+
if (!file.exists()) {
298298
throw new Exception("ERROR: discord aar is not present at the location we expected it to be!")
299299
}
300300

@@ -322,7 +322,7 @@ android {
322322
}
323323

324324
compileSdkVersion 35
325-
ndkVersion "29.0.13846066"
325+
ndkVersion = "29.0.13846066"
326326
defaultConfig {
327327
if (buildAsApplication) {
328328
applicationId "com.github.oopetris"
@@ -339,9 +339,9 @@ android {
339339
}
340340
}
341341
lint {
342-
abortOnError false
342+
abortOnError = false
343343
}
344-
namespace 'com.github.oopetris'
344+
namespace = 'com.github.oopetris'
345345
applicationVariants.all { variant ->
346346
tasks["merge${variant.name.capitalize()}Assets"]
347347
.dependsOn("externalNativeBuild${variant.name.capitalize()}")
@@ -373,15 +373,15 @@ android {
373373
// Configures multiple APKs based on ABI.
374374
abi {
375375
// Enables building multiple APKs per ABI.
376-
enable true
376+
enable = true
377377
// By default all ABIs are included, so use reset() and include to specify that you only
378378
// want APKs for the ones with a ndk variant (4, android did in the past support more: https://developer.android.com/ndk/guides/abis.html#sa)
379379
// Resets the list of ABIs for Gradle to create APKs for to none.
380380
reset()
381381
// Specifies a list of ABIs for Gradle to create APKs for.
382382
include(*abisToUse)
383383
// Specifies that you don't want to also generate a universal APK that includes all ABIs.
384-
universalApk(buildUniversalApk)
384+
universalApk = buildUniversalApk
385385
}
386386
}
387387

platforms/android/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ buildscript {
66
google()
77
}
88
dependencies {
9-
classpath 'com.android.tools.build:gradle:8.10.1'
9+
classpath 'com.android.tools.build:gradle:8.12.1'
1010

1111
// NOTE: Do not place your application dependencies here; they belong
1212
// in the individual module build.gradle files
@@ -20,6 +20,6 @@ allprojects {
2020
}
2121
}
2222

23-
task clean(type: Delete) {
24-
delete rootProject.buildDir
23+
tasks.register("clean", Delete) {
24+
delete rootProject.layout.buildDirectory
2525
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Tue Jun 10 18:14:41 CEST 2025
1+
#Mon Aug 18 19:56:11 CEST 2025
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
4-
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.2-bin.zip
4+
distributionUrl=https\://services.gradle.org/distributions/gradle-8.14.3-bin.zip
55
zipStoreBase=GRADLE_USER_HOME
66
zipStorePath=wrapper/dists

0 commit comments

Comments
 (0)