-
Notifications
You must be signed in to change notification settings - Fork 71
/
Copy pathsettings.gradle
25 lines (23 loc) · 1.14 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
include 'inspectit-ocelot-config'
include 'inspectit-ocelot-bootstrap'
include 'inspectit-ocelot-core'
include "inspectit-ocelot-agent"
include 'inspectit-ocelot-documentation'
include 'inspectit-ocelot-sdk'
include 'inspectit-ocelot-configdocsgenerator'
project(':inspectit-ocelot-configdocsgenerator').projectDir = new File('./components/inspectit-ocelot-configdocsgenerator')
println("Current Java version: " + JavaVersion.current())
if(JavaVersion.current().isCompatibleWith(JavaVersion.VERSION_17)) {
include 'inspectit-ocelot-configurationserver'
include 'inspectit-ocelot-configurationserver-ui'
project(':inspectit-ocelot-configurationserver').projectDir = new File('./components/inspectit-ocelot-configurationserver')
project(':inspectit-ocelot-configurationserver-ui').projectDir = new File('./components/inspectit-ocelot-configurationserver-ui')
// seperate version catalog for configurationServer until everything is migrated to Java17
dependencyResolutionManagement {
versionCatalogs {
configServerLibs {
from(files("gradle/configserverlibs.versions.toml"))
}
}
}
}