Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions android/app/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,13 @@ android {
}
namespace = "com.simplecityapps.shuttle"

buildFeatures {
compose = true
}
composeOptions {
kotlinCompilerExtensionVersion = rootProject.extra["compose_version"] as String
}

dependencies {
implementation(fileTree("dir" to "libs", "include" to listOf("*.jar")))

Expand Down Expand Up @@ -126,6 +133,27 @@ android {
// AppCompat
implementation("androidx.appcompat:appcompat:1.6.1")

val composeBom = platform("androidx.compose:compose-bom:2023.10.01")

implementation(composeBom)
androidTestImplementation(composeBom)

// Material Design 3
implementation("androidx.compose.material3:material3")

// Android Studio Preview support
implementation("androidx.compose.ui:ui-tooling-preview")
debugImplementation("androidx.compose.ui:ui-tooling")

// UI Tests
androidTestImplementation("androidx.compose.ui:ui-test-junit4")
debugImplementation("androidx.compose.ui:ui-test-manifest")

// Optional - Integration with activities
implementation("androidx.activity:activity-compose:1.6.1")
// Optional - Integration with LiveData
implementation("androidx.compose.runtime:runtime-livedata")

// Material
implementation("com.google.android.material:material:1.10.0")

Expand Down

This file was deleted.

Loading