File tree Expand file tree Collapse file tree 7 files changed +26
-7
lines changed
buildSrc/src/main/kotlin/com/datadog/gradle/plugin/transdeps
features/dd-sdk-android-trace-otel
dd-sdk-android-okhttp-otel
dd-sdk-android-sqldelight
dd-sdk-android-trace-coroutines Expand file tree Collapse file tree 7 files changed +26
-7
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ package com.datadog.gradle.plugin.transdeps
8
8
9
9
import org.gradle.api.DefaultTask
10
10
import org.gradle.api.artifacts.Configuration
11
- import org.gradle.api.artifacts.ProjectDependency
11
+ import org.gradle.api.artifacts.component.ProjectComponentIdentifier
12
12
import org.gradle.api.tasks.Input
13
13
import org.gradle.api.tasks.OutputFile
14
14
import org.gradle.api.tasks.TaskAction
@@ -47,10 +47,12 @@ open class GenerateTransitiveDependenciesTask : DefaultTask() {
47
47
check(configuration.isCanBeResolved) { " $configuration cannot be resolved" }
48
48
49
49
val sortedArtifacts = if (sortByName) {
50
- configuration.files {
51
- // ProjectDependency (i.e. local modules) don't have a file associated
52
- it !is ProjectDependency
53
- }.sortedBy { it.absolutePath }
50
+ configuration.incoming
51
+ .artifactView {
52
+ componentFilter { it !is ProjectComponentIdentifier }
53
+ }
54
+ .files
55
+ .sortedBy { it.absolutePath }
54
56
} else {
55
57
configuration.sortedBy { - it.length() }
56
58
}
Original file line number Diff line number Diff line change @@ -3,8 +3,11 @@ Dependencies List
3
3
androidx.annotation:annotation-jvm:1.9.1 : 59 Kb
4
4
io.opentelemetry:opentelemetry-api:1.4.0 : 78 Kb
5
5
io.opentelemetry:opentelemetry-context:1.4.0 : 42 Kb
6
+ io.opentracing:opentracing-api:0.32.0 : 18 Kb
7
+ io.opentracing:opentracing-noop:0.32.0 : 10 Kb
8
+ io.opentracing:opentracing-util:0.32.0 : 10 Kb
6
9
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
7
10
org.jetbrains:annotations:13.0 : 17 Kb
8
11
9
- Total transitive dependencies size : 1876 Kb
12
+ Total transitive dependencies size : 1915 Kb
10
13
Original file line number Diff line number Diff line change @@ -42,12 +42,13 @@ com.github.bumptech.glide:glide:4.11.0 : 614 Kb
42
42
com.github.bumptech.glide:okhttp3-integration:4.11.0 : 8 Kb
43
43
com.squareup.okhttp3:okhttp:4.12.0 : 771 Kb
44
44
com.squareup.okio:okio-jvm:3.6.0 : 351 Kb
45
+ io.opentracing:opentracing-api:0.32.0 : 18 Kb
45
46
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10 : 959 b
46
47
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 : 965 b
47
48
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
48
49
org.jetbrains.kotlinx:kotlinx-coroutines-android:1.6.4 : 19 Kb
49
50
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.6.4 : 1442 Kb
50
51
org.jetbrains:annotations:13.0 : 17 Kb
51
52
52
- Total transitive dependencies size : 7 Mb
53
+ Total transitive dependencies size : 8 Mb
53
54
Original file line number Diff line number Diff line change @@ -2,6 +2,11 @@ Dependencies List
2
2
3
3
com.squareup.okhttp3:okhttp:4.12.0 : 771 Kb
4
4
com.squareup.okio:okio-jvm:3.6.0 : 351 Kb
5
+ io.opentelemetry:opentelemetry-api:1.4.0 : 78 Kb
6
+ io.opentelemetry:opentelemetry-context:1.4.0 : 42 Kb
7
+ io.opentracing:opentracing-api:0.32.0 : 18 Kb
8
+ io.opentracing:opentracing-noop:0.32.0 : 10 Kb
9
+ io.opentracing:opentracing-util:0.32.0 : 10 Kb
5
10
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10 : 959 b
6
11
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 : 965 b
7
12
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ androidx.annotation:annotation-jvm:1.9.1 : 59 Kb
4
4
com.squareup.okhttp3:okhttp:4.12.0 : 771 Kb
5
5
com.squareup.okio:okio-jvm:3.6.0 : 351 Kb
6
6
io.opentracing:opentracing-api:0.32.0 : 18 Kb
7
+ io.opentracing:opentracing-noop:0.32.0 : 10 Kb
8
+ io.opentracing:opentracing-util:0.32.0 : 10 Kb
7
9
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10 : 959 b
8
10
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 : 965 b
9
11
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
Original file line number Diff line number Diff line change @@ -6,6 +6,9 @@ com.squareup.okhttp3:okhttp:4.12.0 : 771 Kb
6
6
com.squareup.okio:okio-jvm:3.6.0 : 351 Kb
7
7
com.squareup.sqldelight:android-driver:1.5.5 : 23 Kb
8
8
com.squareup.sqldelight:runtime-jvm:1.5.5 : 44 Kb
9
+ io.opentracing:opentracing-api:0.32.0 : 18 Kb
10
+ io.opentracing:opentracing-noop:0.32.0 : 10 Kb
11
+ io.opentracing:opentracing-util:0.32.0 : 10 Kb
9
12
org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.9.10 : 959 b
10
13
org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.9.10 : 965 b
11
14
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
Original file line number Diff line number Diff line change 1
1
Dependencies List
2
2
3
+ io.opentracing:opentracing-api:0.32.0 : 18 Kb
4
+ io.opentracing:opentracing-noop:0.32.0 : 10 Kb
5
+ io.opentracing:opentracing-util:0.32.0 : 10 Kb
3
6
org.jetbrains.kotlin:kotlin-stdlib:1.9.24 : 1678 Kb
4
7
org.jetbrains.kotlinx:kotlinx-coroutines-core-jvm:1.4.2 : 1635 Kb
5
8
org.jetbrains:annotations:13.0 : 17 Kb
You can’t perform that action at this time.
0 commit comments