Refactor some modules + add dependency management (still WIP)
This commit is contained in:
parent
71ca64644a
commit
83ac870c92
89 changed files with 854 additions and 580 deletions
|
|
@ -1,6 +1,7 @@
|
|||
plugins {
|
||||
id 'com.android.application'
|
||||
id 'org.jetbrains.kotlin.android'
|
||||
id 'com.google.devtools.ksp' version '1.7.20-1.0.7'
|
||||
}
|
||||
|
||||
android {
|
||||
|
|
@ -36,7 +37,7 @@ android {
|
|||
compose true
|
||||
}
|
||||
composeOptions {
|
||||
kotlinCompilerExtensionVersion compose_version
|
||||
kotlinCompilerExtensionVersion "1.3.2"
|
||||
}
|
||||
packagingOptions {
|
||||
resources {
|
||||
|
|
@ -44,6 +45,14 @@ android {
|
|||
}
|
||||
}
|
||||
|
||||
applicationVariants.all { variant ->
|
||||
kotlin.sourceSets {
|
||||
getByName(variant.name) {
|
||||
kotlin.srcDir("build/generated/ksp/${variant.name}/kotlin")
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
signingConfigs {
|
||||
debug {
|
||||
keyAlias 'androiddebugkey'
|
||||
|
|
@ -55,19 +64,26 @@ android {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(":libraries:ui:theme")
|
||||
implementation project(":libraries:ui:screens:login")
|
||||
implementation project(":libraries:ui:screens:roomlist")
|
||||
implementation project(":libraries:sdk:matrix")
|
||||
implementation project(":libraries:designsystem")
|
||||
implementation project(":libraries:matrix")
|
||||
implementation project(":features:login")
|
||||
implementation project(":features:roomlist")
|
||||
|
||||
implementation 'io.github.raamcosta.compose-destinations:core:1.7.23-beta'
|
||||
ksp 'io.github.raamcosta.compose-destinations:ksp:1.7.23-beta'
|
||||
|
||||
def composeBom = platform('androidx.compose:compose-bom:2022.10.00')
|
||||
implementation composeBom
|
||||
androidTestImplementation composeBom
|
||||
|
||||
implementation 'androidx.core:core-ktx:1.9.0'
|
||||
implementation "androidx.compose.ui:ui:$compose_version"
|
||||
implementation 'androidx.compose.material3:material3:1.0.0-rc01'
|
||||
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
|
||||
implementation "androidx.compose.ui:ui"
|
||||
implementation 'androidx.compose.material3:material3'
|
||||
implementation "androidx.compose.ui:ui-tooling-preview"
|
||||
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
|
||||
implementation 'androidx.activity:activity-compose:1.6.0'
|
||||
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
|
||||
debugImplementation "androidx.compose.ui:ui-test-manifest:$compose_version"
|
||||
|
||||
implementation 'com.airbnb.android:mavericks-compose:2.7.0'
|
||||
implementation 'androidx.activity:activity-compose:1.6.1'
|
||||
implementation 'androidx.lifecycle:lifecycle-viewmodel-compose:2.5.1'
|
||||
debugImplementation "androidx.compose.ui:ui-tooling"
|
||||
debugImplementation "androidx.compose.ui:ui-test-manifest"
|
||||
implementation 'com.airbnb.android:mavericks-compose:3.0.1'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue