using conventions with their own versioning

- removes android plugins and compose from the main app
This commit is contained in:
Adam Brown 2022-12-12 22:24:51 +00:00
parent c299d558d3
commit 259644aa55
4 changed files with 4 additions and 22 deletions

View File

@ -49,7 +49,6 @@ dependencies {
implementation "chat-engine:matrix-chat-engine"
implementation "chat-engine.matrix:store"
implementation libs.compose.ui
implementation libs.ktor.android
implementation libs.sqldelight.android
implementation libs.matrix.olm

View File

@ -3,43 +3,26 @@ kotlin = "1.7.20"
coroutines = "1.6.4"
sqldelight = "1.5.4"
ktor = "2.2.1"
compose = "1.2.1"
compose-compiler = "1.3.2"
android-gp = "7.3.1"
[plugins]
android-application = { id = "com.android.application", version.ref = "android-gp" }
android-library = { id = "com.android.library", version.ref = "android-gp" }
android-kotlin = { id = "org.jetbrains.kotlin.android", version.ref = "kotlin" }
kotlin = { id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }
kotlin-parcelize = { id = "org.jetbrains.kotlin.plugin.parcelize", version.ref = "kotlin" }
firebase-crashlytics = { id = "com.google.firebase.crashlytics", version = "2.9.2" }
kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
firebase-crashlytics = { id = "com.google.firebase.crashlytics", version = "2.9.2" }
sqldelight = { id = "com.squareup.sqldelight", version.ref = "sqldelight" }
[libraries]
compose-ui = { group = "androidx.compose.ui", name = "ui", version.ref = "compose" }
compose-foundation = { group = "androidx.compose.foundation", name = "foundation", version.ref = "compose" }
compose-material-three = { group = "androidx.compose.material3", name = "material3", version = "1.0.1" }
compose-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended", version.ref = "compose" }
compose-activity = { group = "androidx.activity", name = "activity-compose", version = "1.6.1" }
compose-coil = { group = "io.coil-kt", name = "coil-compose", version = "2.2.2" }
android-desugar = { group = "com.android.tools", name = "desugar_jdk_libs", version = "1.1.5" }
compose-coil = { group = "io.coil-kt", name = "coil-compose", version = "2.2.2" }
accompanist-systemuicontroller = { group = "com.google.accompanist", name = "accompanist-systemuicontroller", version = "0.28.0" }
matrix-olm = { group = "org.matrix.android", name = "olm-sdk", version = "3.2.12" }
unifiedpush = { group = "com.github.UnifiedPush", name = "android-connector", version = "2.1.1" }
firebase-bom = { module = "com.google.firebase:firebase-bom", version = "31.1.1" }
kotlin-serialization = { group = "org.jetbrains.kotlinx", name = "kotlinx-serialization-json", version = "1.4.1" }
kotlin-coroutines = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version.ref = "coroutines" }
kotlin-coroutines-test = { group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version.ref = "coroutines" }
kotlin-test = { group = "org.jetbrains.kotlin", name = "kotlin-test-junit", version.ref = "kotlin" }

View File

@ -1,4 +1,5 @@
pluginManagement {
includeBuild 'tools/conventions'
repositories {
gradlePluginPortal()
google()
@ -14,7 +15,6 @@ rootProject.name = "SmallTalk"
includeBuild 'screen-state'
includeBuild 'chat-engine'
includeBuild 'tools/conventions'
include ':app'

@ -1 +1 @@
Subproject commit 22256bffeb9f3723bf3d01b39825f344e41150dc
Subproject commit 730feff287862141dc7e3924821f57027b6c312b