-
Notifications
You must be signed in to change notification settings - Fork 2
/
settings.gradle
101 lines (81 loc) · 4.35 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
pluginManagement {
plugins {
id "org.checkerframework" version "0.6.34" apply false
}
repositories {
gradlePluginPortal()
mavenCentral()
}
}
rootProject.name = "hibernate-models2"
dependencyResolutionManagement {
repositories {
mavenCentral()
maven {
// temporary - OSSRH snapshot repo for ORM 7.0 snapshot
url "https://oss.sonatype.org/content/repositories/snapshots/"
mavenContent {
snapshotsOnly()
}
}
}
versionCatalogs {
jdks {
version "baseline", "11"
}
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 hcannVersion = version "hcann", "6.0.6.Final"
library( "hcann", "org.hibernate.common", "hibernate-commons-annotations" ).versionRef( hcannVersion )
def hibernateModelsVersion = version "hibernateModels", "0.5.4"
library( "hibernateModels", "org.hibernate.models", "hibernate-models" ).versionRef( hibernateModelsVersion )
def hibernateOrmVersion = version "hibernateOrm", "7.0.0-SNAPSHOT"
library( "hibernatePlatform", "org.hibernate.orm", "hibernate-platform" ).versionRef( hibernateOrmVersion )
// withoutVersion assuming that the platform is applied
library( "hibernateCore", "org.hibernate.orm", "hibernate-core" ).withoutVersion()
library( "hibernateTesting", "org.hibernate.orm", "hibernate-testing" ).withoutVersion()
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 {
// withoutVersion to pick up the version used with Hibernate ORM (libs.hibernatePlatform)
library( "jpa", "jakarta.persistence", "jakarta.persistence-api" ).withoutVersion()
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( "junitq5Params", "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 )
}
}
}