Commit b05ab35
authored
Replace global dependency management with version catalog (#6080)
Completely removes dependencies.gradle which acted as a global dependency management file for the whole build.
We previously introduced a version catalog and these changes make full use of it. Individual dependency versions are managed in the catalog and the dependencies are referenced using the type-safe API where they are declared. This should alleviate confusion contributors have about where to put versions and how to declare dependencies. It also avoids needless dependency management in all sub-projects even for dependencies that are only used in one place.
This also removes the global dependency management via the BOMs that were declared in dependencies.gradle. Instead, the BOMs are declared in the projects that use them at the appropriate scope. An exception to this is the JUnit BOM because each 'java-library' project should have tests and use JUnit, so it is added to all of them from the root build.gradle.1 parent 8ff920f commit b05ab35
File tree
44 files changed
+169
-288
lines changed- docs
- gradle
- implementations
- micrometer-registry-appoptics
- micrometer-registry-atlas
- micrometer-registry-azure-monitor
- micrometer-registry-cloudwatch2
- micrometer-registry-datadog
- micrometer-registry-dynatrace
- micrometer-registry-elastic
- micrometer-registry-ganglia
- micrometer-registry-graphite
- micrometer-registry-health
- micrometer-registry-humio
- micrometer-registry-influx
- micrometer-registry-jmx
- micrometer-registry-kairos
- micrometer-registry-new-relic
- micrometer-registry-opentsdb
- micrometer-registry-otlp
- micrometer-registry-prometheus
- micrometer-registry-signalfx
- micrometer-registry-statsd
- micrometer-registry-wavefront
- micrometer-commons
- micrometer-core
- micrometer-jakarta9
- micrometer-java11
- micrometer-java21
- micrometer-jetty11
- micrometer-jetty12
- micrometer-observation-test
- micrometer-observation
- micrometer-osgi-test
- micrometer-test
- samples
- micrometer-samples-core
- micrometer-samples-hazelcast3
- micrometer-samples-hazelcast
- micrometer-samples-javalin
- micrometer-samples-jersey3
- micrometer-samples-jooq
- micrometer-samples-kotlin
- micrometer-samples-spring-framework6
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
44 files changed
+169
-288
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
61 | 60 | | |
62 | 61 | | |
63 | 62 | | |
| |||
87 | 86 | | |
88 | 87 | | |
89 | 88 | | |
| 89 | + | |
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
46 | | - | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
| 59 | + | |
58 | 60 | | |
59 | | - | |
| 61 | + | |
60 | 62 | | |
61 | 63 | | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
66 | 68 | | |
67 | 69 | | |
68 | 70 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
118 | | - | |
119 | 117 | | |
120 | 118 | | |
121 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
11 | | - | |
| 10 | + | |
| 11 | + | |
12 | 12 | | |
0 commit comments