Skip to content

Commit

Permalink
Fix android build
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSchlaubi committed Nov 27, 2023
1 parent 5175d81 commit 20fa7c9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
10 changes: 8 additions & 2 deletions app/android/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import dev.schlaubi.tonbrett.gradle.sdkInt
import org.jetbrains.kotlin.config.LanguageVersion
import org.jetbrains.kotlin.gradle.dsl.JvmTarget

plugins {
Expand All @@ -7,6 +8,10 @@ plugins {
id("org.jetbrains.compose")
}

repositories {
maven("https://androidx.dev/storage/compose-compiler/repository/")
}

dependencies {
implementation(projects.app.shared)
implementation(projects.app.android.androidShared)
Expand Down Expand Up @@ -41,8 +46,9 @@ android {
}

buildTypes {
release {
isMinifyEnabled = true
all {
// TODO: Re-enable when r8 supports Kotlin 2.0.0 metadata :(
isMinifyEnabled = false
proguardFiles(
getDefaultProguardFile("proguard-android-optimize.txt"),
"proguard-rules.pro"
Expand Down
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ plugins {

allprojects {
group = "dev.schlaubi.tonbrett"
version = "1.17.3"
version = "1.17.4"

repositories {
mavenCentral()
Expand Down
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ coroutines = "1.7.3"
play-services-wearable = "18.1.0"
horologist = "0.5.10"
protobuf = "3.19.4"
compose-compiler = "1.5.4"
compose-compiler = "1.5.5-dev-k2.0.0-Beta1-06b8ae672a4"
coil = "2.5.0"

[libraries]
Expand Down

0 comments on commit 20fa7c9

Please sign in to comment.