Skip to content

Commit cbec8ea

Browse files
RUM-9511: Transitive dependencies plugin and some more dependencies work
1 parent c466e20 commit cbec8ea

File tree

3 files changed

+144
-2
lines changed

3 files changed

+144
-2
lines changed

gradle/libs.versions.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,13 @@ ktorServerCore = { module = "io.ktor:ktor-server-core", version.ref = "ktorServe
250250
ktorServerNetty = { module = "io.ktor:ktor-server-netty", version.ref = "ktorServer" }
251251
ktorServerSSE = { module = "io.ktor:ktor-server-sse", version.ref = "ktorServer" }
252252

253+
# ktor client
254+
ktorClientCore = { module = "io.ktor:ktor-client-core", version.ref = "ktorClient" }
255+
ktorClientOkHttp = { module = "io.ktor:ktor-client-okhttp", version.ref = "ktorClient" }
256+
ktorContentNegotiation = { module = "io.ktor:ktor-client-content-negotiation", version.ref = "ktorClient" }
257+
ktorSerializationKotlinxJson = { module = "io.ktor:ktor-serialization-kotlinx-json", version.ref = "ktorClient" }
258+
ktorClientMock = { module = "io.ktor:ktor-client-mock", version.ref = "ktorClient" }
259+
253260
# Otel
254261
jctools = { module = "org.jctools:jctools-core", version.ref = "jctools" }
255262
openTelemetryApi = { module = "io.opentelemetry:opentelemetry-api", version.ref = "openTelemetry" }

sample/benchmark/build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ plugins {
1313
kotlin("plugin.serialization")
1414
id("kotlin-parcelize")
1515
alias(libs.plugins.datadogGradlePlugin)
16+
id("transitiveDependencies")
1617
}
1718

1819
@Suppress("StringLiteralDuplication")
@@ -40,6 +41,7 @@ android {
4041

4142
buildFeatures {
4243
compose = true
44+
viewBinding = true
4345
}
4446
composeOptions {
4547
kotlinCompilerExtensionVersion = libs.versions.androidXComposeRuntime.get()
@@ -92,14 +94,15 @@ dependencies {
9294
implementation(libs.androidXConstraintLayout)
9395
implementation(libs.androidXLifecycleCompose)
9496
implementation(libs.googleMaterial)
95-
implementation(libs.glideCore)
96-
implementation(libs.material3Android)
97+
implementation(libs.bundles.glide)
9798
implementation(libs.timber)
9899
implementation(platform(libs.androidXComposeBom))
100+
implementation(libs.material3Android)
99101
implementation(libs.bundles.androidXCompose)
100102
implementation(libs.coilCompose)
101103
implementation(libs.daggerLib)
102104
kapt(libs.daggerCompiler)
105+
kapt(libs.glideCompiler)
103106
implementation(libs.coroutinesCore)
104107
implementation(libs.bundles.ktorClient)
105108
implementation(libs.kotlinxSerializationJson)
Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
Dependencies List
2+
3+
androidx.activity:activity-compose:1.7.2 : 1082 Kb
4+
androidx.activity:activity-ktx:1.7.2 : 25 Kb
5+
androidx.activity:activity:1.7.2 : 139 Kb
6+
androidx.annotation:annotation-experimental:1.4.1 : 38 Kb
7+
androidx.annotation:annotation-jvm:1.9.1 : 59 Kb
8+
androidx.appcompat:appcompat-resources:1.4.2 : 65 Kb
9+
androidx.appcompat:appcompat:1.4.2 : 1092 Kb
10+
androidx.arch.core:core-common:2.2.0 : 11 Kb
11+
androidx.arch.core:core-runtime:2.2.0 : 7 Kb
12+
androidx.cardview:cardview:1.0.0 : 21 Kb
13+
androidx.collection:collection-jvm:1.4.5 : 770 Kb
14+
androidx.collection:collection-ktx:1.4.5 : 261 b
15+
androidx.compose.animation:animation-android:1.6.0 : 1377 Kb
16+
androidx.compose.animation:animation-core-android:1.6.0 : 1428 Kb
17+
androidx.compose.foundation:foundation-android:1.6.0 : 4 Mb
18+
androidx.compose.foundation:foundation-layout-android:1.6.0 : 513 Kb
19+
androidx.compose.material:material-android:1.5.4 : 2 Mb
20+
androidx.compose.material:material-icons-core-android:1.5.4 : 700 Kb
21+
androidx.compose.material:material-ripple-android:1.5.4 : 73 Kb
22+
androidx.compose.material3:material3:1.1.2 : 4 Mb
23+
androidx.compose.runtime:runtime-android:1.7.1 : 2 Mb
24+
androidx.compose.runtime:runtime-saveable-android:1.7.1 : 1090 Kb
25+
androidx.compose.ui:ui-android:1.6.0 : 4 Mb
26+
androidx.compose.ui:ui-geometry-android:1.6.0 : 35 Kb
27+
androidx.compose.ui:ui-graphics-android:1.6.0 : 1494 Kb
28+
androidx.compose.ui:ui-text-android:1.6.0 : 748 Kb
29+
androidx.compose.ui:ui-tooling-android:1.6.0 : 225 Kb
30+
androidx.compose.ui:ui-tooling-data-android:1.6.0 : 36 Kb
31+
androidx.compose.ui:ui-tooling-preview-android:1.6.0 : 16 Kb
32+
androidx.compose.ui:ui-unit-android:1.6.0 : 82 Kb
33+
androidx.compose.ui:ui-util-android:1.6.0 : 13 Kb
34+
androidx.constraintlayout:constraintlayout-solver:2.0.4 : 225 Kb
35+
androidx.constraintlayout:constraintlayout:2.0.4 : 375 Kb
36+
androidx.coordinatorlayout:coordinatorlayout:1.1.0 : 43 Kb
37+
androidx.core:core-ktx:1.12.0 : 169 Kb
38+
androidx.core:core:1.12.0 : 1291 Kb
39+
androidx.cursoradapter:cursoradapter:1.0.0 : 10 Kb
40+
androidx.customview:customview:1.1.0 : 32 Kb
41+
androidx.databinding:viewbinding:8.9.1 : 1860 b
42+
androidx.documentfile:documentfile:1.0.0 : 10 Kb
43+
androidx.drawerlayout:drawerlayout:1.0.0 : 31 Kb
44+
androidx.dynamicanimation:dynamicanimation:1.0.0 : 31 Kb
45+
androidx.exifinterface:exifinterface:1.3.3 : 62 Kb
46+
androidx.fragment:fragment-ktx:1.6.2 : 29 Kb
47+
androidx.fragment:fragment:1.6.2 : 345 Kb
48+
androidx.interpolator:interpolator:1.0.0 : 7 Kb
49+
androidx.legacy:legacy-support-core-utils:1.0.0 : 4 Kb
50+
androidx.lifecycle:lifecycle-common-jvm:2.8.7 : 55 Kb
51+
androidx.lifecycle:lifecycle-livedata-core-ktx:2.8.7 : 1349 b
52+
androidx.lifecycle:lifecycle-livedata-core:2.8.7 : 31 Kb
53+
androidx.lifecycle:lifecycle-livedata:2.8.7 : 56 Kb
54+
androidx.lifecycle:lifecycle-runtime-android:2.8.7 : 80 Kb
55+
androidx.lifecycle:lifecycle-runtime-compose-android:2.8.7 : 56 Kb
56+
androidx.lifecycle:lifecycle-runtime-ktx-android:2.8.7 : 1333 b
57+
androidx.lifecycle:lifecycle-viewmodel-android:2.8.7 : 55 Kb
58+
androidx.lifecycle:lifecycle-viewmodel-compose-android:2.8.7 : 22 Kb
59+
androidx.lifecycle:lifecycle-viewmodel-ktx:2.8.7 : 1343 b
60+
androidx.lifecycle:lifecycle-viewmodel-savedstate:2.8.7 : 36 Kb
61+
androidx.lifecycle:lifecycle-viewmodel:2.8.7 : 292 b
62+
androidx.loader:loader:1.0.0 : 32 Kb
63+
androidx.localbroadcastmanager:localbroadcastmanager:1.0.0 : 6 Kb
64+
androidx.multidex:multidex:2.0.1 : 26 Kb
65+
androidx.navigation:navigation-common-ktx:2.7.7 : 2 Kb
66+
androidx.navigation:navigation-common:2.7.7 : 180 Kb
67+
androidx.navigation:navigation-compose:2.7.7 : 1139 Kb
68+
androidx.navigation:navigation-fragment:2.7.7 : 92 Kb
69+
androidx.navigation:navigation-runtime-ktx:2.7.7 : 2 Kb
70+
androidx.navigation:navigation-runtime:2.7.7 : 126 Kb
71+
androidx.print:print:1.0.0 : 15 Kb
72+
androidx.recyclerview:recyclerview:1.3.2 : 399 Kb
73+
androidx.savedstate:savedstate-ktx:1.2.1 : 3 Kb
74+
androidx.savedstate:savedstate:1.2.1 : 19 Kb
75+
androidx.slidingpanelayout:slidingpanelayout:1.2.0 : 37 Kb
76+
androidx.transition:transition:1.4.1 : 177 Kb
77+
androidx.vectordrawable:vectordrawable-animated:1.1.0 : 33 Kb
78+
androidx.vectordrawable:vectordrawable:1.1.0 : 32 Kb
79+
androidx.versionedparcelable:versionedparcelable:1.1.1 : 30 Kb
80+
androidx.viewpager:viewpager:1.0.0 : 52 Kb
81+
androidx.viewpager2:viewpager2:1.1.0-beta02 : 65 Kb
82+
com.github.bumptech.glide:annotations:4.11.0 : 3 Kb
83+
com.github.bumptech.glide:disklrucache:4.11.0 : 19 Kb
84+
com.github.bumptech.glide:gifdecoder:4.11.0 : 17 Kb
85+
com.github.bumptech.glide:glide:4.11.0 : 614 Kb
86+
com.github.bumptech.glide:okhttp3-integration:4.11.0 : 8 Kb
87+
com.google.android.material:material:1.3.0 : 1535 Kb
88+
com.google.dagger:dagger:2.56.2 : 47 Kb
89+
com.hannesdorfmann:adapterdelegates4-kotlin-dsl-viewbinding:4.3.2: 12 Kb
90+
com.hannesdorfmann:adapterdelegates4:4.3.2 : 12 Kb
91+
com.jakewharton.timber:timber:5.0.1 : 31 Kb
92+
com.squareup.okhttp3:okhttp:4.12.0 : 771 Kb
93+
com.squareup.okio:okio-jvm:3.7.0 : 352 Kb
94+
io.coil-kt:coil-base:2.1.0 : 401 Kb
95+
io.coil-kt:coil-compose-base:2.1.0 : 98 Kb
96+
io.coil-kt:coil-compose:2.1.0 : 23 Kb
97+
io.coil-kt:coil:2.1.0 : 9 Kb
98+
io.ktor:ktor-client-content-negotiation-jvm:2.3.13 : 26 Kb
99+
io.ktor:ktor-client-core-jvm:2.3.13 : 816 Kb
100+
io.ktor:ktor-client-okhttp-jvm:2.3.13 : 61 Kb
101+
io.ktor:ktor-events-jvm:2.3.13 : 7 Kb
102+
io.ktor:ktor-http-jvm:2.3.13 : 404 Kb
103+
io.ktor:ktor-io-jvm:2.3.13 : 791 Kb
104+
io.ktor:ktor-serialization-jvm:2.3.13 : 24 Kb
105+
io.ktor:ktor-serialization-kotlinx-json-jvm:2.3.13 : 23 Kb
106+
io.ktor:ktor-serialization-kotlinx-jvm:2.3.13 : 33 Kb
107+
io.ktor:ktor-utils-jvm:2.3.13 : 328 Kb
108+
io.ktor:ktor-websocket-serialization-jvm:2.3.13 : 6 Kb
109+
io.ktor:ktor-websockets-jvm:2.3.13 : 173 Kb
110+
io.opentelemetry:opentelemetry-api:1.40.0 : 138 Kb
111+
io.opentelemetry:opentelemetry-context:1.40.0 : 46 Kb
112+
io.opentracing:opentracing-api:0.32.0 : 18 Kb
113+
io.opentracing:opentracing-noop:0.32.0 : 10 Kb
114+
io.opentracing:opentracing-util:0.32.0 : 10 Kb
115+
jakarta.inject:jakarta.inject-api:2.0.1 : 10 Kb
116+
javax.inject:javax.inject:1 : 2 Kb
117+
org.jetbrains.kotlin:kotlin-android-extensions-runtime:1.9.24 : 9 Kb
118+
org.jetbrains.kotlin:kotlin-parcelize-runtime:1.9.24 : 6 Kb
119+
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.8.22 : 963 b
120+
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.8.22 : 969 b
121+
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
122+
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.7.3 : 20 Kb
123+
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.7.3 : 1514 Kb
124+
org.jetbrains.kotlinx:kotlinx-coroutines-jdk8:1.7.3 : 953 b
125+
org.jetbrains.kotlinx:kotlinx-serialization-core-jvm:1.6.3 : 410 Kb
126+
org.jetbrains.kotlinx:kotlinx-serialization-json-jvm:1.6.3 : 258 Kb
127+
org.jetbrains:annotations:23.0.0 : 28 Kb
128+
org.jspecify:jspecify:1.0.0 : 3 Kb
129+
org.slf4j:slf4j-api:1.7.36 : 40 Kb
130+
131+
Total transitive dependencies size : 44 Mb
132+

0 commit comments

Comments
 (0)