Move some things to lib.versions.toml
This commit is contained in:
parent
c31780050f
commit
0b965c36f7
2 changed files with 18 additions and 8 deletions
|
@ -12,12 +12,12 @@ buildscript {
|
|||
}
|
||||
|
||||
dependencies {
|
||||
classpath("com.android.tools.build:gradle:8.7.3")
|
||||
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:2.5.3")
|
||||
classpath("com.google.protobuf:protobuf-gradle-plugin:0.9.0")
|
||||
classpath(libs.gradle)
|
||||
classpath(libs.androidx.navigation.safe.args.gradle.plugin)
|
||||
classpath(libs.protobuf.gradle.plugin)
|
||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:${rootProject.extra["kotlin_version"] as String}")
|
||||
classpath(libs.ktlint)
|
||||
classpath("app.cash.exhaustive:exhaustive-gradle:0.1.1")
|
||||
classpath(libs.exhaustive.gradle)
|
||||
classpath("com.squareup.wire:wire-gradle-plugin:4.4.3") {
|
||||
exclude(group = "com.squareup.wire", module = "wire-swift-generator")
|
||||
exclude(group = "com.squareup.wire", module = "wire-grpc-client")
|
||||
|
@ -25,9 +25,9 @@ buildscript {
|
|||
exclude(group = "com.squareup.wire", module = "wire-grpc-server-generator")
|
||||
exclude(group = "io.outfoxx", module = "swiftpoet")
|
||||
}
|
||||
classpath("androidx.benchmark:benchmark-gradle-plugin:1.1.0-beta04")
|
||||
classpath(libs.androidx.benchmark.gradle.plugin)
|
||||
classpath(files("$rootDir/wire-handler/wire-handler-1.0.0.jar"))
|
||||
classpath("com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.9.20-1.0.14")
|
||||
classpath(libs.com.google.devtools.ksp.gradle.plugin)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -10,20 +10,26 @@ androidx-lifecycle = "2.8.5"
|
|||
androidx-media3 = "1.3.1"
|
||||
androidx-navigation = "2.8.0"
|
||||
androidx-window = "1.3.0"
|
||||
exhaustive-gradle = "0.1.1"
|
||||
glide = "4.15.1"
|
||||
gradle = "8.7.3"
|
||||
kotlin = "1.9.20"
|
||||
libsignal-client = "0.64.0"
|
||||
mp4parser = "1.9.39"
|
||||
android-gradle-plugin = "8.4.0"
|
||||
accompanist = "0.28.0"
|
||||
nanohttpd = "2.3.1"
|
||||
navigation-safe-args-gradle-plugin = "2.5.3"
|
||||
protobuf-gradle-plugin = "0.9.0"
|
||||
|
||||
[libraries]
|
||||
# Android Plugins
|
||||
gradle = { module = "com.android.tools.build:gradle", version.ref = "gradle" }
|
||||
android-library = { module = "com.android.library:com.android.library.gradle.plugin", version.ref = "android-gradle-plugin" }
|
||||
android-application = { module = "com.android.application:com.android.application.gradle.plugin", version.ref = "android-gradle-plugin" }
|
||||
|
||||
# Compose
|
||||
androidx-benchmark-gradle-plugin = "androidx.benchmark:benchmark-gradle-plugin:1.1.0-beta04"
|
||||
androidx-compose-bom = "androidx.compose:compose-bom:2024.09.00"
|
||||
androidx-compose-material3 = { module = "androidx.compose.material3:material3" }
|
||||
androidx-compose-ui-tooling-preview = { module = "androidx.compose.ui:ui-tooling-preview" }
|
||||
|
@ -31,7 +37,6 @@ androidx-compose-ui-tooling-core = { module = "androidx.compose.ui:ui-tooling" }
|
|||
androidx-compose-ui-test-manifest = { module = "androidx.compose.ui:ui-test-manifest" }
|
||||
androidx-compose-runtime-livedata = { module = "androidx.compose.runtime:runtime-livedata" }
|
||||
androidx-compose-rxjava3 = "androidx.compose.runtime:runtime-rxjava3:1.4.2"
|
||||
ktlint-twitter-compose = "com.twitter.compose.rules:ktlint:0.0.26"
|
||||
|
||||
# Accompanist
|
||||
accompanist-permissions = { module = "com.google.accompanist:accompanist-permissions", version.ref = "accompanist" }
|
||||
|
@ -44,11 +49,12 @@ android-tools-desugar = "com.android.tools:desugar_jdk_libs:1.1.6"
|
|||
kotlin-stdlib-jdk8 = { module = "org.jetbrains.kotlin:kotlin-stdlib-jdk8", version.ref = "kotlin" }
|
||||
kotlin-reflect = { module = "org.jetbrains.kotlin:kotlin-reflect", version.ref = "kotlin" }
|
||||
kotlin-gradle-plugin = { module = "org.jetbrains.kotlin:kotlin-gradle-plugin", version.ref = "kotlin" }
|
||||
ktlint = "org.jlleitschuh.gradle:ktlint-gradle:12.1.1"
|
||||
kotlinx-coroutines-core = "org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0"
|
||||
kotlinx-coroutines-core-jvm = "org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.9.0"
|
||||
kotlinx-coroutines-play-services = "org.jetbrains.kotlinx:kotlinx-coroutines-play-services:1.8.1"
|
||||
kotlinx-coroutines-rx3 = "org.jetbrains.kotlinx:kotlinx-coroutines-rx3:1.3.9"
|
||||
ktlint = "org.jlleitschuh.gradle:ktlint-gradle:12.1.1"
|
||||
ktlint-twitter-compose = "com.twitter.compose.rules:ktlint:0.0.26"
|
||||
|
||||
# Android X
|
||||
androidx-activity-compose = { module = "androidx.activity:activity-compose", version.ref = "androidx-activity" }
|
||||
|
@ -72,6 +78,7 @@ androidx-media3-ui = { module = "androidx.media3:media3-ui", version.ref = "andr
|
|||
androidx-navigation-fragment-ktx = { module = "androidx.navigation:navigation-fragment-ktx", version.ref = "androidx-navigation" }
|
||||
androidx-navigation-ui-ktx = { module = "androidx.navigation:navigation-ui-ktx", version.ref = "androidx-navigation" }
|
||||
androidx-navigation-compose = { module = "androidx.navigation:navigation-compose", version.ref = "androidx-navigation" }
|
||||
androidx-navigation-safe-args-gradle-plugin = { module = "androidx.navigation:navigation-safe-args-gradle-plugin", version.ref = "navigation-safe-args-gradle-plugin" }
|
||||
androidx-lifecycle-viewmodel-ktx = { module = "androidx.lifecycle:lifecycle-viewmodel-ktx", version.ref = "androidx-lifecycle" }
|
||||
androidx-lifecycle-livedata-core = { module = "androidx.lifecycle:lifecycle-livedata", version.ref = "androidx-lifecycle" }
|
||||
androidx-lifecycle-livedata-ktx = { module = "androidx.lifecycle:lifecycle-livedata-ktx", version.ref = "androidx-lifecycle" }
|
||||
|
@ -111,6 +118,7 @@ google-ez-vcard = "com.googlecode.ez-vcard:ez-vcard:0.9.11"
|
|||
google-jsr305 = "com.google.code.findbugs:jsr305:3.0.2"
|
||||
google-guava-android = "com.google.guava:guava:30.0-android"
|
||||
google-flexbox = "com.google.android.flexbox:flexbox:3.0.0"
|
||||
com-google-devtools-ksp-gradle-plugin = "com.google.devtools.ksp:com.google.devtools.ksp.gradle.plugin:1.9.20-1.0.14"
|
||||
|
||||
# Firebase
|
||||
firebase-messaging = "com.google.firebase:firebase-messaging:23.1.2"
|
||||
|
@ -118,6 +126,7 @@ firebase-messaging = "com.google.firebase:firebase-messaging:23.1.2"
|
|||
# 1st Party
|
||||
libsignal-client = { module = "org.signal:libsignal-client", version.ref = "libsignal-client" }
|
||||
libsignal-android = { module = "org.signal:libsignal-android", version.ref = "libsignal-client" }
|
||||
protobuf-gradle-plugin = { module = "com.google.protobuf:protobuf-gradle-plugin", version.ref = "protobuf-gradle-plugin" }
|
||||
signal-aesgcmprovider = "org.signal:aesgcmprovider:0.0.3"
|
||||
signal-ringrtc = "org.signal:ringrtc-android:2.49.0"
|
||||
signal-android-database-sqlcipher = "org.signal:sqlcipher-android:4.6.0-S1"
|
||||
|
@ -150,6 +159,7 @@ dnsjava = "dnsjava:dnsjava:2.1.9"
|
|||
nanohttpd-webserver = { module = "org.nanohttpd:nanohttpd-webserver", version.ref = "nanohttpd" }
|
||||
nanohttpd-websocket = { module = "org.nanohttpd:nanohttpd-websocket", version.ref = "nanohttpd" }
|
||||
kotlinx-collections-immutable = "org.jetbrains.kotlinx:kotlinx-collections-immutable:0.3.5"
|
||||
exhaustive-gradle = { module = "app.cash.exhaustive:exhaustive-gradle", version.ref = "exhaustive-gradle" }
|
||||
|
||||
# Can't use the newest version because it hits some weird NoClassDefFoundException
|
||||
jknack-handlebars = "com.github.jknack:handlebars:4.0.7"
|
||||
|
|
Loading…
Add table
Reference in a new issue