|
1 | 1 | [versions] |
2 | | -slf4j = "1.7.30" |
3 | | -# The ranges are needed to allow instrumentation tests to specify the desired version. |
4 | | -guava = "[16.0,20.0]" # Last version to support Java 7 |
| 2 | +# NOTE: Ranges for some versions are needed to allow instrumentation tests to specify the desired version. |
| 3 | + |
| 4 | +# Build |
| 5 | +develocity = "4.2.2" |
| 6 | + |
| 7 | +# DataDog libs and forks |
| 8 | +ddprof = "1.34.0" |
| 9 | +dogstatsd = "4.4.3" |
5 | 10 | okhttp = "3.12.15" # Datadog fork to support Java 7 |
6 | | -okhttp-legacy = "[3.0,3.12.12]" # 3.12.x is last version to support Java7 |
7 | | -okio = "1.17.6" # Datadog fork |
8 | 11 |
|
9 | | -spock = "2.4-M6-groovy-3.0" |
| 12 | +# Languages |
| 13 | +## Groovy |
10 | 14 | groovy = "3.0.24" |
11 | | -junit5 = "5.12.2" |
12 | | -junit-platform = "1.12.2" |
13 | | -logback = "1.2.13" |
14 | | -bytebuddy = "1.17.7" |
15 | | -instrumentjava = "0.0.2" |
| 15 | + |
| 16 | +## Kotlin |
| 17 | +kotlin = "1.6.21" |
| 18 | +kotlin-plugin = "1.9.24" |
| 19 | +kotlinx-coroutines = "1.3.0" |
| 20 | + |
| 21 | +## Scala |
16 | 22 | scala = "2.11.12" # Last version to support Java 7 (2.12+ require Java 8+) |
17 | 23 | scala211 = "2.11.12" |
18 | 24 | scala212 = "2.12.18" |
19 | 25 | scala213 = "2.13.11" |
20 | 26 | scala33 = "3.3.0" |
21 | | -kotlin = "1.6.21" |
22 | | -kotlin-plugin = "1.9.24" |
23 | | -coroutines = "1.3.0" |
24 | | -dogstatsd = "4.4.3" |
25 | | -jnr-unixsocket = "0.38.22" |
26 | | -jnr-posix = '3.1.19' |
27 | | -commons = "3.2" |
28 | | -mockito = '4.4.0' |
29 | | -jctools = '3.3.0' |
30 | | -moshi = '1.11.0' |
31 | | -testcontainers = '1.21.3' |
32 | | -jmc = "8.1.0" |
| 27 | + |
| 28 | +# Bytecode manipulations & codegen |
33 | 29 | autoservice = "1.1.1" |
34 | | -ddprof = "1.34.0" |
35 | 30 | asm = "9.9" |
| 31 | +byte-buddy = "1.17.7" |
| 32 | +instrument-java = "0.0.2" |
| 33 | + |
| 34 | +# Benchmarks |
| 35 | +jmh = "1.37" |
| 36 | + |
| 37 | +# Profiling |
| 38 | +jmc = "8.1.0" |
| 39 | + |
| 40 | +# Web & Network |
| 41 | +jnr-posix = "3.1.19" |
| 42 | +jnr-unixsocket = "0.38.22" |
| 43 | +okhttp-legacy = "[3.0,3.12.12]" # 3.12.x is last version to support Java7 |
| 44 | +okio = "1.17.6" # Datadog fork |
| 45 | + |
| 46 | +# Cryptography |
36 | 47 | cafe_crypto = "0.1.0" |
| 48 | + |
| 49 | +# Common utils |
| 50 | +commons = "3.2" |
| 51 | +guava = "[16.0,20.0]" # Last version to support Java 7 |
| 52 | +jctools = "3.3.0" |
37 | 53 | lz4 = "1.7.1" |
38 | | -jmh = "1.37" |
| 54 | + |
| 55 | +# Logging |
| 56 | +slf4j = "1.7.30" |
| 57 | +logback = "1.2.13" |
| 58 | + |
| 59 | +# JSON |
39 | 60 | jackson = "2.20.0" |
40 | | -develocity = "4.2.2" |
| 61 | +moshi = "1.11.0" |
| 62 | + |
| 63 | +# Testing |
| 64 | +junit5 = "5.12.2" |
| 65 | +junit-platform = "1.12.2" |
| 66 | +mockito = "4.4.0" |
| 67 | +spock = "2.4-M6-groovy-3.0" |
| 68 | +testcontainers = "1.21.3" |
41 | 69 |
|
42 | 70 | [libraries] |
43 | | -slf4j = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" } |
44 | | -guava = { module = "com.google.guava:guava", version.ref = "guava" } |
45 | | -moshi = { module = "com.squareup.moshi:moshi", version.ref = "moshi" } |
46 | | -jctools = { module = "org.jctools:jctools-core", version.ref = "jctools" } |
| 71 | +# Build |
| 72 | +develocity = { module = "com.gradle:develocity-gradle-plugin", version.ref = "develocity" } |
| 73 | + |
| 74 | +# DataDog libs and forks |
| 75 | +ddprof = { module = "com.datadoghq:ddprof", version.ref = "ddprof" } |
| 76 | +dogstatsd = { module = "com.datadoghq:java-dogstatsd-client", version.ref = "dogstatsd" } |
47 | 77 | okhttp = { module = "com.datadoghq.okhttp3:okhttp", version.ref = "okhttp" } |
48 | | -okio = { module = "com.datadoghq.okio:okio", version.ref = "okio" } |
49 | | -bytebuddy = { module = "net.bytebuddy:byte-buddy", version.ref = "bytebuddy" } |
50 | | -bytebuddyagent = { module = "net.bytebuddy:byte-buddy-agent", version.ref = "bytebuddy" } |
51 | | -instrumentjava = { module = "com.datadoghq:dd-instrument-java", version.ref = "instrumentjava" } |
| 78 | + |
| 79 | +# Languages |
| 80 | +## Groovy |
| 81 | +groovy = { module = "org.codehaus.groovy:groovy-all", version.ref = "groovy" } |
| 82 | +groovy-yaml = { module = "org.codehaus.groovy:groovy-yaml", version.ref = "groovy" } |
| 83 | + |
| 84 | +## Kotlin |
| 85 | +kotlin = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" } |
| 86 | +coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "kotlinx-coroutines" } |
| 87 | + |
| 88 | +## Scala |
| 89 | +scala = { module = "org.scala-lang:scala-library", version.ref = "scala" } |
| 90 | +scala211 = { module = "org.scala-lang:scala-library", version.ref = "scala211" } |
| 91 | +scala212 = { module = "org.scala-lang:scala-library", version.ref = "scala212" } |
| 92 | +scala213 = { module = "org.scala-lang:scala-library", version.ref = "scala213" } |
| 93 | +scala33 = { module = "org.scala-lang:scala3-library_3", version.ref = "scala33" } |
| 94 | + |
| 95 | +# Bytecode manipulations & codegen |
52 | 96 | autoservice-processor = { module = "com.google.auto.service:auto-service", version.ref = "autoservice" } |
53 | 97 | autoservice-annotation = { module = "com.google.auto.service:auto-service-annotations", version.ref = "autoservice" } |
54 | | -commons-math = { module = "org.apache.commons:commons-math3", version.ref = "commons" } |
55 | | -ddprof = { module = "com.datadoghq:ddprof", version.ref = "ddprof" } |
56 | 98 | asm = { module = "org.ow2.asm:asm", version.ref = "asm" } |
| 99 | +asm-commons = { module = "org.ow2.asm:asm-commons", version.ref = "asm" } |
57 | 100 | asm-tree = { module = "org.ow2.asm:asm-tree", version.ref = "asm" } |
58 | 101 | asm-util = { module = "org.ow2.asm:asm-util", version.ref = "asm" } |
59 | | -asmcommons = { module = "org.ow2.asm:asm-commons", version.ref = "asm" } |
60 | | -dogstatsd = { module = "com.datadoghq:java-dogstatsd-client", version.ref = "dogstatsd" } |
| 102 | +bytebuddy = { module = "net.bytebuddy:byte-buddy", version.ref = "byte-buddy" } |
| 103 | +bytebuddyagent = { module = "net.bytebuddy:byte-buddy-agent", version.ref = "byte-buddy" } |
| 104 | +instrumentjava = { module = "com.datadoghq:dd-instrument-java", version.ref = "instrument-java" } |
| 105 | + |
| 106 | +# Profiling |
| 107 | +jmc-common = { module = "org.openjdk.jmc:common", version.ref = "jmc" } |
| 108 | +jmc-flightrecorder = { module = "org.openjdk.jmc:flightrecorder", version.ref = "jmc" } |
| 109 | + |
| 110 | +# Web & Network |
| 111 | +okio = { module = "com.datadoghq.okio:okio", version.ref = "okio" } |
61 | 112 | jnr-unixsocket = { module = "com.github.jnr:jnr-unixsocket", version.ref = "jnr-unixsocket"} |
62 | 113 |
|
| 114 | +# Cryptography |
63 | 115 | cafe-crypto-ed25519 = { module = "cafe.cryptography:ed25519-elisabeth", version.ref = "cafe_crypto" } |
64 | 116 | cafe-crypto-curve25519 = { module = "cafe.cryptography:curve25519-elisabeth", version.ref = "cafe_crypto" } |
65 | 117 |
|
| 118 | +# Common utils |
| 119 | +aircompressor = { module = "io.airlift:aircompressor", version = "2.0.2"} # aircompressor v3 requires Java 22 |
| 120 | +commons-math = { module = "org.apache.commons:commons-math3", version.ref = "commons" } |
| 121 | +guava = { module = "com.google.guava:guava", version.ref = "guava" } |
| 122 | +jctools = { module = "org.jctools:jctools-core", version.ref = "jctools" } |
66 | 123 | lz4 = { module = "org.lz4:lz4-java", version.ref = "lz4" } |
67 | | -# aircompressor v3 requires Java 22 |
68 | | -aircompressor = { module = 'io.airlift:aircompressor', version = '2.0.2'} |
69 | 124 |
|
70 | | -# Testing |
71 | | -spock-core = { module = "org.spockframework:spock-core", version.ref = "spock" } |
72 | | -spock-junit4 = { module = "org.spockframework:spock-junit4", version.ref = "spock" } |
73 | | -spock-spring = { module = "org.spockframework:spock-spring", version.ref = "spock" } |
74 | | -objenesis = { module = "org.objenesis:objenesis", version = "3.3" } # Used by Spock for mocking: |
| 125 | +# Logging |
| 126 | +logback-classic = { module = "ch.qos.logback:logback-classic", version.ref = "logback" } |
| 127 | +logback-core = { module = "ch.qos.logback:logback-core", version.ref = "logback" } |
| 128 | +log4j-over-slf4j = { module = "org.slf4j:log4j-over-slf4j", version.ref = "slf4j" } |
| 129 | +jcl-over-slf4j = { module = "org.slf4j:jcl-over-slf4j", version.ref = "slf4j" } |
| 130 | +jul-to-slf4j = { module = "org.slf4j:jul-to-slf4j", version.ref = "slf4j" } |
| 131 | +slf4j = { module = "org.slf4j:slf4j-api", version.ref = "slf4j" } |
75 | 132 |
|
76 | | -groovy = { module = "org.codehaus.groovy:groovy-all", version.ref = "groovy" } |
77 | | -groovy-yaml = { module = "org.codehaus.groovy:groovy-yaml", version.ref = "groovy" } |
| 133 | +# JSON |
| 134 | +jackson-databind = {module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson"} |
| 135 | +moshi = { module = "com.squareup.moshi:moshi", version.ref = "moshi" } |
| 136 | + |
| 137 | +# Testing |
78 | 138 | junit-jupiter = { module = "org.junit.jupiter:junit-jupiter", version.ref = "junit5" } |
79 | 139 | junit-jupiter-params = { module = "org.junit.jupiter:junit-jupiter-params", version.ref = "junit5" } |
80 | 140 | junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher", version.ref = "junit-platform" } |
81 | | - |
82 | 141 | mokito-core = { module = "org.mockito:mockito-core", version.ref = "mockito" } |
83 | 142 | mokito-junit-jupiter = { module = "org.mockito:mockito-junit-jupiter", version.ref = "mockito" } |
84 | | - |
| 143 | +objenesis = { module = "org.objenesis:objenesis", version = "3.3" } # Used by Spock for mocking: |
| 144 | +spock-core = { module = "org.spockframework:spock-core", version.ref = "spock" } |
| 145 | +spock-junit4 = { module = "org.spockframework:spock-junit4", version.ref = "spock" } |
| 146 | +spock-spring = { module = "org.spockframework:spock-spring", version.ref = "spock" } |
85 | 147 | testcontainers = { module = "org.testcontainers:testcontainers", version.ref = "testcontainers" } |
86 | 148 | testcontainers-localstack = { module = "org.testcontainers:localstack", version.ref = "testcontainers" } |
87 | 149 |
|
88 | | -logback-classic = { module = "ch.qos.logback:logback-classic", version.ref = "logback" } |
89 | | -logback-core = { module = "ch.qos.logback:logback-core", version.ref = "logback" } |
90 | | - |
91 | | -log4j-over-slf4j = { module = "org.slf4j:log4j-over-slf4j", version.ref = "slf4j" } |
92 | | -jcl-over-slf4j = { module = "org.slf4j:jcl-over-slf4j", version.ref = "slf4j" } |
93 | | -jul-to-slf4j = { module = "org.slf4j:jul-to-slf4j", version.ref = "slf4j" } |
94 | | - |
95 | | -scala = { module = "org.scala-lang:scala-library", version.ref = "scala" } |
96 | | -scala211 = { module = "org.scala-lang:scala-library", version.ref = "scala211" } |
97 | | -scala212 = { module = "org.scala-lang:scala-library", version.ref = "scala212" } |
98 | | -scala213 = { module = "org.scala-lang:scala-library", version.ref = "scala213" } |
99 | | -scala33 = { module = "org.scala-lang:scala3-library_3", version.ref = "scala33" } |
100 | | -kotlin = { module = "org.jetbrains.kotlin:kotlin-stdlib", version.ref = "kotlin" } |
101 | | -coroutines = { module = "org.jetbrains.kotlinx:kotlinx-coroutines-core", version.ref = "coroutines" } |
102 | | - |
103 | | -jmc-common = { module = "org.openjdk.jmc:common", version.ref = "jmc" } |
104 | | -jmc-flightrecorder = { module = "org.openjdk.jmc:flightrecorder", version.ref = "jmc" } |
| 150 | +[bundles] |
| 151 | +# Bytecode manipulations & codegen |
| 152 | +asm = ["asm", "asm-commons"] |
| 153 | +cafe-crypto = ["cafe-crypto-curve25519", "cafe-crypto-ed25519"] |
105 | 154 |
|
106 | | -jackson-databind = {module = "com.fasterxml.jackson.core:jackson-databind", version.ref = "jackson"} |
| 155 | +# Profiling |
| 156 | +jmc = ["jmc-common", "jmc-flightrecorder"] |
107 | 157 |
|
108 | | -develocity = { module = "com.gradle:develocity-gradle-plugin", version.ref = "develocity" } |
| 158 | +# Logging |
| 159 | +test-logging = ["logback-classic", "log4j-over-slf4j", "jcl-over-slf4j", "jul-to-slf4j"] |
109 | 160 |
|
110 | | -[bundles] |
111 | | -asm = ["asm", "asmcommons"] |
112 | | -cafe-crypto = ["cafe-crypto-curve25519", "cafe-crypto-ed25519"] |
113 | 161 | # Testing |
114 | | -spock = ["spock-core", "objenesis"] |
115 | 162 | junit5 = ["junit-jupiter", "junit-jupiter-params"] |
116 | 163 | junit-platform = ["junit-platform-launcher"] |
117 | 164 | mockito = ["mokito-core", "mokito-junit-jupiter", "bytebuddy", "bytebuddyagent"] |
118 | | -test-logging = ["logback-classic", "log4j-over-slf4j", "jcl-over-slf4j", "jul-to-slf4j"] |
119 | | - |
120 | | -jmc = ["jmc-common", "jmc-flightrecorder"] |
| 165 | +spock = ["spock-core", "objenesis"] |
0 commit comments