-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.gradle
49 lines (41 loc) · 1.89 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
pluginManagement {
repositories {
mavenLocal()
mavenCentral()
gradlePluginPortal()
}
}
plugins {
// Apply the foojay-resolver plugin to allow automatic download of JDKs
id 'org.gradle.toolchains.foojay-resolver-convention' version '0.8.0'
}
dependencyResolutionManagement {
versionCatalogs {
libs {
def jakartaRs = version('jakarta-rs', '3.1.0')
def jersey = version('jersey', '3.1.7')
def reactor = version('reactor', '3.6.8')
library('reactor-core', 'io.projectreactor', 'reactor-core').versionRef(reactor)
library('jakarta-ws-rs', 'jakarta.ws.rs', 'jakarta.ws.rs-api').versionRef(jakartaRs)
library('jersey-client', 'org.glassfish.jersey.core', 'jersey-client').versionRef(jersey)
library('jersey-server', 'org.glassfish.jersey.core', 'jersey-server').versionRef(jersey)
library('jersey-container-servlet', 'org.glassfish.jersey.containers', 'jersey-container-servlet').versionRef(jersey)
library('jersey-hk2', 'org.glassfish.jersey.inject', 'jersey-hk2').versionRef(jersey)
library('jersey-spring6', 'org.glassfish.jersey.ext', 'jersey-spring6').versionRef(jersey)
library('jersey-media-json-jackson', 'org.glassfish.jersey.media', 'jersey-media-json-jackson').versionRef(jersey)
library('jersey-bean-validation', 'org.glassfish.jersey.ext', 'jersey-bean-validation').versionRef(jersey)
library('jersey-test-framework-provider-grizzly2', 'org.glassfish.jersey.test-framework.providers', 'jersey-test-framework-provider-grizzly2').versionRef(jersey)
library('junit', 'org.junit.jupiter:junit-jupiter:5.10.3')
library('sonar-java-plugin', 'org.sonarsource.java:sonar-java-plugin:7.21.0.31796')
}
}
}
rootProject.name = 'jersey-reactor-server'
Closure discoverSubprojects = {
def list = []
rootDir.eachDir(){ dir ->
dir.eachFileMatch({it == 'build.gradle'}, { list += [dir.name] })
}
list.toArray(new java.lang.String[0])
}
include discoverSubprojects()