Updated Gradle and AGP to 8

This commit is contained in:
Anuken
2024-07-06 14:57:49 -04:00
parent 62df1e321d
commit aa645fe67c
5 changed files with 15 additions and 8 deletions
+8 -5
View File
@@ -7,7 +7,7 @@ buildscript{
}
dependencies{
classpath 'com.android.tools.build:gradle:7.2.1'
classpath 'com.android.tools.build:gradle:8.5.0'
}
}
@@ -29,8 +29,9 @@ task deploy(type: Copy){
}
android{
buildToolsVersion '33.0.2'
compileSdkVersion 33
namespace = "io.anuke.mindustry"
buildToolsVersion = '34.0.0'
compileSdk = 34
sourceSets{
main{
manifest.srcFile 'AndroidManifest.xml'
@@ -56,7 +57,7 @@ android{
applicationId "io.anuke.mindustry"
minSdkVersion 14
targetSdkVersion 33
targetSdkVersion 34
versionName versionNameResult
versionCode = vcode
@@ -65,6 +66,8 @@ android{
props['androidBuildCode'] = (vcode + 1).toString()
}
props.store(file('../core/assets/version.properties').newWriter(), null)
multiDexEnabled true
}
compileOptions{
@@ -72,7 +75,7 @@ android{
targetCompatibility JavaVersion.VERSION_1_8
}
flavorDimensions "google"
flavorDimensions = ["google"]
signingConfigs{
release{