-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathsettings.gradle
132 lines (113 loc) · 4.81 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
pluginManagement {
plugins {
id "org.checkerframework" version "0.6.34" apply false
id "io.github.gradle-nexus.publish-plugin" version "2.0.0" apply false
}
repositories {
gradlePluginPortal()
mavenCentral()
}
}
plugins {
id 'com.gradle.develocity' version '3.17.4'
}
rootProject.name = "hibernate-models-group"
dependencyResolutionManagement {
repositories {
mavenCentral()
maven {
// temporary - OSSRH snapshot repo for ORM 7.0 snapshot
url "https://oss.sonatype.org/content/repositories/snapshots/"
mavenContent {
snapshotsOnly()
}
}
// Needed for RC versions of Jakarta Persistence
maven {
url "https://jakarta.oss.sonatype.org/content/repositories/releases/"
}
// Needed for Beta versions of Jakarta Persistence
maven {
url "https://jakarta.oss.sonatype.org/content/groups/staging/"
}
// Needed for SNAPSHOT versions of Jakarta Persistence (wtf)
maven {
url "https://jakarta.oss.sonatype.org/content/repositories/snapshots/"
}
}
versionCatalogs {
jdks {
version "baseline", "17"
}
libs {
def byteBuddyVersion = version "byteBuddy", "1.14.7"
library( "byteBuddy", "net.bytebuddy", "byte-buddy" ).versionRef( byteBuddyVersion )
library( "byteBuddyAgent", "net.bytebuddy", "byte-buddy-agent" ).versionRef( byteBuddyVersion )
def classmateVersion = version "classmate", "1.5.1"
library( "classmate", "com.fasterxml", "classmate" ).versionRef( classmateVersion )
def jacksonVersion = version "jackson", "2.14.1"
library( "jackson", "com.fasterxml.jackson.core", "jackson-databind" ).versionRef( jacksonVersion )
library( "jacksonXml", "com.fasterxml.jackson.dataformat", "jackson-dataformat-xml" ).versionRef( jacksonVersion )
library( "jacksonJsr310", "com.fasterxml.jackson.datatype", "jackson-datatype-jsr310" ).versionRef( jacksonVersion )
def jandexVersion = version "jandex", "3.1.2"
library( "jandex", "io.smallrye", "jandex" ).versionRef( jandexVersion )
def jbossLoggingVersion = version "jbossLogging", "3.5.0.Final"
library( "logging", "org.jboss.logging", "jboss-logging" ).versionRef( jbossLoggingVersion )
def jbossLoggingToolVersion = version "jbossLoggingTool", "2.2.1.Final"
library( "loggingAnnotations", "org.jboss.logging", "jboss-logging-annotations" ).versionRef( jbossLoggingToolVersion )
library( "loggingProcessor", "org.jboss.logging", "jboss-logging-processor" ).versionRef( jbossLoggingToolVersion )
}
jakartaLibs {
def jpaVersion = version "jpa", "3.2.0-B02"
library( "jpa", "jakarta.persistence", "jakarta.persistence-api" ).versionRef( jpaVersion )
def injectVersion = version "inject", "2.0.1"
def jaxbApiVersion = version "jaxbApi", "4.0.0"
def jaxbRuntimeVersion = version "jaxbRuntime", "4.0.2"
library( "inject", "jakarta.inject", "jakarta.inject-api" ).versionRef( injectVersion )
library( "jaxbApi", "jakarta.xml.bind", "jakarta.xml.bind-api" ).versionRef( jaxbApiVersion )
library( "jaxb", "org.glassfish.jaxb", "jaxb-runtime" ).versionRef( jaxbRuntimeVersion )
library( "xjc", "org.glassfish.jaxb", "jaxb-xjc" ).versionRef( jaxbRuntimeVersion )
def jsonbApiVersion = version "jsonbApi", "3.0.0"
def jsonbRuntimeVersion = version "jsonbRuntime", "3.0.2"
library( "jsonbApi", "jakarta.json.bind", "jakarta.json.bind-api" ).versionRef( jsonbApiVersion )
library( "jsonb", "org.eclipse", "yasson" ).versionRef( jsonbRuntimeVersion )
}
testLibs {
def assertjVersion = version "assertj", "3.22.0"
library( "assertjCore", "org.assertj", "assertj-core" ).versionRef( assertjVersion )
def h2Version = version "h2", "2.2.224"
library( "h2", "com.h2database", "h2" ).versionRef( h2Version )
def junit5Version = version "junit5", "5.9.2"
library( "junit5Api", "org.junit.jupiter", "junit-jupiter-api" ).versionRef( junit5Version )
library( "junit5Engine", "org.junit.jupiter", "junit-jupiter-engine" ).versionRef( junit5Version )
library( "junit5Params", "org.junit.jupiter", "junit-jupiter-params" ).versionRef( junit5Version )
def log4jVersion = version "log4j", "2.17.1"
library( "log4j", "org.apache.logging.log4j", "log4j-core" ).versionRef( log4jVersion )
}
}
develocity {
server = 'https://ge.hibernate.org'
buildScan {
capture {
fileFingerprints = true
}
publishing.onlyIf { it.authenticated }
obfuscation {
// Don't share ip addresses
ipAddresses { addresses -> addresses.collect { address -> "0.0.0.0" } }
}
// uploadInBackground = !settings.ext.isCiEnvironment
//
// tag "jdk-${settings.extensions.jdkVersions.test.launcher}"
// tag settings.extensions.db
// value 'database', settings.extensions.db
//
// if ( settings.extensions.findByName( 'ci.node' ) ) {
// tag settings.extensions.findByName( 'ci.node' )
// }
}
}
}
include "hibernate-models"
include "hibernate-models-jandex"
include 'hibernate-models-testing'