@@ -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.13599879 "
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
0 commit comments