diff --git a/android/build.gradle.kts b/android/build.gradle.kts index cfd212cfdc..910590c3e7 100644 --- a/android/build.gradle.kts +++ b/android/build.gradle.kts @@ -1,5 +1,6 @@ -import com.unciv.build.BuildConfig + import com.unciv.build.AndroidImagePacker +import com.unciv.build.BuildConfig import java.util.Properties plugins { @@ -8,7 +9,7 @@ plugins { } android { - compileSdk = 32 + compileSdk = 33 sourceSets { getByName("main").apply { manifest.srcFile("AndroidManifest.xml") @@ -28,7 +29,7 @@ android { defaultConfig { applicationId = "com.unciv.app" minSdk = 21 - targetSdk = 32 // See #5044 + targetSdk = 33 // See #5044 versionCode = BuildConfig.appCodeNumber versionName = BuildConfig.appVersion @@ -73,7 +74,7 @@ android { // Don't add local save files and fonts to release, obviously ignoreAssetsPattern = "!SaveFiles:!fonts:!maps:!music:!mods" } - buildToolsVersion = "32.0.0" + buildToolsVersion = "33.0.2" } task("texturePacker") { diff --git a/docs/Developers/Building-Locally.md b/docs/Developers/Building-Locally.md index 1ed310d4d7..da424f5661 100644 --- a/docs/Developers/Building-Locally.md +++ b/docs/Developers/Building-Locally.md @@ -20,7 +20,7 @@ By the end of this guide, you will have Unciv running locally from code, so you ![image](/docs/assets/Android_SDK_Platforms.png) - Click "SDK Tools" - Select "Show Package Details" in the bottom right - - Choose version 32.0.0 under "Android SDK Build-Tools" + - Choose version 33.0.2 under "Android SDK Build-Tools" ![image](/docs/assets/Android_SDK_Tools.png) - Click "Apply" - Restart Android Studio @@ -100,7 +100,7 @@ You can (and in some cases _should_) run and even debug the unit tests locally. ### Linting -Detekt checks for code smells and other linting issues. +Detekt checks for code smells and other linting issues. To generate Detekt reports: - Download [detekt-cli](https://github.com/detekt/detekt/releases/latest) (the zip file) and unzip it