Skip to content

Commit

Permalink
Add build tool version to android config (#1803)
Browse files Browse the repository at this point in the history
  • Loading branch information
rhjdvsgsgks authored Mar 1, 2025
1 parent 7b70b40 commit 7566918
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/build_push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,6 @@ jobs:
alias: ${{ secrets.ALIAS }}
keyStorePassword: ${{ secrets.KEY_STORE_PASSWORD }}
keyPassword: ${{ secrets.KEY_PASSWORD }}
env:
BUILD_TOOLS_VERSION: '35.0.1'

- name: Clean up build artifacts
if: startsWith(github.ref, 'refs/tags/') && github.repository == 'mihonapp/mihon'
Expand Down
1 change: 1 addition & 0 deletions buildSrc/src/main/kotlin/mihon/buildlogic/AndroidConfig.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ object AndroidConfig {
const val TARGET_SDK = 34
const val MIN_SDK = 26
const val NDK = "27.1.12297006"
const val BUILD_TOOLS = "35.0.1"

// https://youtrack.jetbrains.com/issue/KT-66995/JvmTarget-and-JavaVersion-compatibility-for-easier-JVM-version-setup
val JavaVersion = GradleJavaVersion.VERSION_17
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ val Project.libs get() = the<LibrariesForLibs>()
internal fun Project.configureAndroid(commonExtension: CommonExtension<*, *, *, *, *, *>) {
commonExtension.apply {
compileSdk = AndroidConfig.COMPILE_SDK
buildToolsVersion = AndroidConfig.BUILD_TOOLS

defaultConfig {
minSdk = AndroidConfig.MIN_SDK
Expand Down

0 comments on commit 7566918

Please sign in to comment.