build: remove hardcoded libraries
- Commit
8883597fb52d5e6b5edb904060092192483fbe66- Author
- Vayun Mathur <[email protected]>
- When
- 2026-07-29 17:24 UTC (4 months ago)
- Parents
da7b094
Diff
astronomy/build.gradle.kts
diff --git a/astronomy/build.gradle.kts b/astronomy/build.gradle.ktsindex 2e8f0c760f..47b4a9a184 100644--- a/astronomy/build.gradle.kts+++ b/astronomy/build.gradle.kts@@ -41,5 +41,5 @@ dependencies { implementation(libs.androidx.datastore.preferences) // Unit tests for Phase 7 (JVM, no Android)- testImplementation("org.jetbrains.kotlin:kotlin-test:2.4.0")+ testImplementation(libs.kotlin.test) }
games/hub/build.gradle.kts
diff --git a/games/hub/build.gradle.kts b/games/hub/build.gradle.ktsindex 2fa6311cb7..dc91216400 100644--- a/games/hub/build.gradle.kts+++ b/games/hub/build.gradle.kts@@ -19,5 +19,5 @@ dependencies { implementation(project(":library:room")) implementation(project(":sdk:games")) implementRoom(libs)- implementation("androidx.compose.material:material-icons-extended")+ implementation(libs.androidx.compose.material.icons.extended) }
gradle/libs.versions.toml
diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.tomlindex 071186b246..33503438c1 100644--- a/gradle/libs.versions.toml+++ b/gradle/libs.versions.toml@@ -81,11 +81,17 @@ ncnnAndroid = "1.3.0" kxml2 = "2.3.0" libsignalAndroid = "0.86.5" signalProtocolJava = "2.8.1"+fragmentKtx = "1.9.0-alpha02"+desugarJdkLibs = "2.1.5"+protoc = "4.28.3"+vonageVoice = "2.6.0"+appauth = "0.11.1"+shadow = "9.0.0" [libraries] # AndroidX Core & Lifecycle androidx-core-ktx = { group = "androidx.core", name = "core-ktx", version.ref = "coreKtx" }-androidx-fragment-ktx = { group = "androidx.fragment", name = "fragment-ktx", version = "1.9.0-alpha02" }+androidx-fragment-ktx = { group = "androidx.fragment", name = "fragment-ktx", version.ref = "fragmentKtx" } androidx-lifecycle-runtime-ktx = { group = "androidx.lifecycle", name = "lifecycle-runtime-ktx", version.ref = "lifecycle" } androidx-lifecycle-viewmodel-ktx = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-ktx", version.ref = "lifecycle" } androidx-lifecycle-viewmodel-compose = { group = "androidx.lifecycle", name = "lifecycle-viewmodel-compose", version.ref = "lifecycle" }@@ -202,9 +208,15 @@ ncnn-android = { module = "com.github.vayun-mathur:ncnn-android", version.ref = kxml2 = { module = "net.sf.kxml:kxml2", version.ref = "kxml2" } libsignal-android = { module = "org.signal:libsignal-android", version.ref = "libsignalAndroid" } signal-protocol-java = { module = "org.whispersystems:signal-protocol-java", version.ref = "signalProtocolJava" }+androidx-compose-material-icons-extended = { group = "androidx.compose.material", name = "material-icons-extended" }+kotlin-test = { group = "org.jetbrains.kotlin", name = "kotlin-test", version.ref = "kotlin" }+desugar-jdk-libs = { module = "com.android.tools:desugar_jdk_libs", version.ref = "desugarJdkLibs" }+vonage-client-sdk-voice = { group = "com.vonage", name = "client-sdk-voice", version.ref = "vonageVoice" }+appauth = { group = "net.openid", name = "appauth", version.ref = "appauth" } [plugins] android-application = { id = "com.android.application", version.ref = "agp" }+shadow = { id = "com.gradleup.shadow", version.ref = "shadow" } android-library = { id = "com.android.library", version.ref = "agp" } kotlin-compose = { id = "org.jetbrains.kotlin.plugin.compose", version.ref = "kotlin" } kotlin-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
library/ui/build.gradle.kts
diff --git a/library/ui/build.gradle.kts b/library/ui/build.gradle.ktsindex b3156ffe18..90e2bfc41c 100644--- a/library/ui/build.gradle.kts+++ b/library/ui/build.gradle.kts@@ -12,6 +12,6 @@ dependencies { // NavigationSuiteScaffold / currentWindowAdaptiveInfo used (via the facade) by openassistant. api(libs.androidx.compose.material3.adaptive.navigation.suite) // Used only internally (editor toolbars); not re-exported to apps.- implementation("androidx.compose.material:material-icons-extended")+ implementation(libs.androidx.compose.material.icons.extended) }
messages/build.gradle.kts
diff --git a/messages/build.gradle.kts b/messages/build.gradle.ktsindex f4698a268c..5a72f7dafc 100644--- a/messages/build.gradle.kts+++ b/messages/build.gradle.kts@@ -42,7 +42,7 @@ android { } dependencies {- coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:2.1.5")+ coreLibraryDesugaring(libs.desugar.jdk.libs) } // ----------------------------------------------------------------@@ -57,8 +57,6 @@ dependencies { // runtime) are added to the variant's Java sources via the AGP // `androidComponents` extension below. -val protocVersion = "4.28.3"- val osClassifier: String = run { val osName = System.getProperty("os.name").lowercase(Locale.US) val arch = System.getProperty("os.arch").lowercase(Locale.US)@@ -81,7 +79,7 @@ val protocConfig: Configuration = configurations.create("protocBinary") { } dependencies {- "protocBinary"("com.google.protobuf:protoc:$protocVersion:$osClassifier@exe")+ "protocBinary"("com.google.protobuf:protoc:${libs.versions.protoc.get()}:$osClassifier@exe") } val protoSrcDir = layout.projectDirectory.dir("src/main/proto")
travel/build.gradle.kts
diff --git a/travel/build.gradle.kts b/travel/build.gradle.ktsindex 45f551dbef..5f0e23443a 100644--- a/travel/build.gradle.kts+++ b/travel/build.gradle.kts@@ -19,7 +19,7 @@ dependencies { implementation(project(":library:room")) implementation(project(":library:network")) - implementation("androidx.compose.material:material-icons-extended")+ implementation(libs.androidx.compose.material.icons.extended) implementation(libs.coil.compose) implementation(libs.coil.svg) }
whatsapp-signal/build.gradle.kts
diff --git a/whatsapp-signal/build.gradle.kts b/whatsapp-signal/build.gradle.ktsindex ed4379bac2..744abb6433 100644--- a/whatsapp-signal/build.gradle.kts+++ b/whatsapp-signal/build.gradle.kts@@ -16,7 +16,7 @@ import org.gradle.api.tasks.bundling.AbstractArchiveTask plugins { `java-library`- id("com.gradleup.shadow") version "9.0.0"+ alias(libs.plugins.shadow) } tasks.withType<AbstractArchiveTask>().configureEach {
youpipe/extractor/build.gradle.kts
diff --git a/youpipe/extractor/build.gradle.kts b/youpipe/extractor/build.gradle.ktsindex 2cce501775..6683bbfa78 100644--- a/youpipe/extractor/build.gradle.kts+++ b/youpipe/extractor/build.gradle.kts@@ -34,7 +34,7 @@ dependencies { implementation(libs.rhino.engine) implementation(libs.brotli.dec) - testImplementation("junit:junit:4.13.2")+ testImplementation(libs.junit) } protobuf {