Android build fixes

This commit is contained in:
Anuken 2022-06-06 11:31:38 -04:00
parent 0177902010
commit 49d859f6bb
5 changed files with 50 additions and 42 deletions

View file

@ -24,6 +24,7 @@
android:name="mindustry.android.AndroidLauncher"
android:label="@string/app_name"
android:screenOrientation="user"
android:exported="true"
android:configChanges="keyboard|keyboardHidden|orientation|screenSize|screenLayout">
<intent-filter>

View file

@ -7,7 +7,7 @@ buildscript{
}
dependencies{
classpath 'com.android.tools.build:gradle:7.0.3'
classpath 'com.android.tools.build:gradle:7.2.1'
}
}
@ -29,8 +29,8 @@ task deploy(type: Copy){
}
android{
buildToolsVersion '30.0.3'
compileSdkVersion 30
buildToolsVersion '31.0.0'
compileSdkVersion 31
sourceSets{
main{
manifest.srcFile 'AndroidManifest.xml'
@ -56,7 +56,7 @@ android{
applicationId "io.anuke.mindustry"
minSdkVersion 14
targetSdkVersion 30
targetSdkVersion 31
versionName versionNameResult
versionCode = vcode