Nailik / rhasspy_mobile

Rhasspy is a voice assistant software. This repository implements the functionality of a Rhasspy satellite, with local wake word recognition.
61 stars 4 forks source link

Move all ui into shared #358

Closed Nailik closed 1 year ago

Nailik commented 1 year ago

move all compose ui into ui module to be used shared

Nailik commented 1 year ago

Gradle additions:

            implementation(Koin.core)
            implementation(Jetbrains.Kotlinx.immutable)
            implementation(Mikepenz.aboutLibrariesCore)
implementation(Icerock.Mvvm.core)
implementation(Touchlab.kermit)

tasks.withType { kotlinOptions.freeCompilerArgs += "-opt-in=androidx.compose.foundation.ExperimentalFoundationApi" kotlinOptions.freeCompilerArgs += "-opt-in=androidx.compose.material3.ExperimentalMaterial3Api" kotlinOptions.freeCompilerArgs += "-opt-in=androidx.compose.foundation.layout.ExperimentalLayoutApi" kotlinOptions.freeCompilerArgs += "-opt-in=androidx.compose.ui.ExperimentalComposeUiApi" kotlinOptions.freeCompilerArgs += "-P=plugin:androidx.compose.compiler.plugins.kotlin:metricsDestination=${project.buildDir.absolutePath}/compose_metrics" kotlinOptions.freeCompilerArgs += "-P=plugin:androidx.compose.compiler.plugins.kotlin:reportsDestination=${project.buildDir.absolutePath}/compose_metrics" }