-
Notifications
You must be signed in to change notification settings - Fork 961
/
settings.gradle
73 lines (61 loc) · 2.96 KB
/
settings.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
rootProject.name = 'btrace-ng'
// Find the directories containing a "build.gradle" file in the root directory
// of the project. That is, every directory containing a "build.gradle" will
// be automatically the subproject of this project.
def subDirs = rootDir.listFiles(new FileFilter() {
boolean accept(File file) {
if (!file.isDirectory()) {
return false
}
if (file.name == 'buildSrc') {
return false
}
return new File(file, 'build.gradle').isFile()
}
})
subDirs.each { File dir ->
if (dir.name.startsWith("btrace-")) {
include dir.name
}
include "integration-tests"
include "benchmarks:agent-benchmark"
include "benchmarks:runtime-benchmarks"
}
dependencyResolutionManagement {
versionCatalogs {
libs {
// Families...
version('asm', '9.7.1')
version('jmh', '1.36')
version('jmhGradlePlugin', '0.7.2')
version('slf4j', '1.7.36')
version('junit', '5.11.3')
// *** Gradle plugins ***
plugin ('spotless', 'com.diffplug.spotless').version('6.11.0')
plugin ('versioning', 'net.nemerosa.versioning').version('2.15.1')
plugin ('ospackage', 'com.netflix.nebula.ospackage').version('11.10.0')
plugin ('shadow', 'com.github.johnrengelman.shadow').version('7.1.2')
plugin ('sdkman-vendors', 'io.sdkman.vendors').version('3.0.0')
plugin ('foojay-resolver', 'org.gradle.toolchains.foojay-resolver-convention').version('0.8.0')
plugin ('jmh', 'me.champeau.jmh').versionRef('jmhGradlePlugin')
// *** Libraries ***
// https://mvnrepository.com/artifact/com.google.auto.service
library ('autoService', 'com.google.auto.service', 'auto-service').version('1.1.1')
// https://mvnrepository.com/artifact/org.jctools
library ('jctools', 'org.jctools', 'jctools-core').version('4.0.5')
// https://mvnrepository.com/artifact/org.slf4j
library ('slf4j', 'org.slf4j', 'slf4j-api').versionRef('slf4j')
library ('slf4j-simple', 'org.slf4j', 'slf4j-simple').versionRef('slf4j')
// https://mvnrepository.com/artifact/org.ow2.asm
library ('asm', 'org.ow2.asm', 'asm').versionRef('asm')
library ('asm-tree', 'org.ow2.asm', 'asm-tree').versionRef('asm')
library ('asm-util', 'org.ow2.asm', 'asm-util').versionRef('asm')
// https://mvnrepository.com/artifact/org.openjdk.jmh
library ('jmh', 'org.openjdk.jmh', 'jmh-core').versionRef('jmh')
library ('jmh-annprocess', 'org.openjdk.jmh', 'jmh-generator-annprocess').versionRef('jmh')
// https://mvnrepository.com/artifact/org.junit.jupiter
library ('junit', 'org.junit', 'junit-bom').versionRef('junit')
library ('junit-jupiter', 'org.junit.jupiter', 'junit-jupiter').versionRef('junit')
}
}
}