-
Notifications
You must be signed in to change notification settings - Fork 102
/
Copy pathjms3.properties
29 lines (24 loc) · 1017 Bytes
/
jms3.properties
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
// This file contains the versions of Spring etc to work with a Jakarta-based system
ext {
// Our shipped version - should usually match the Spring Boot Version but
// there may be reasons to make it different
mqStarterVersion = '3.3.5'
// Direct Dependencies - give versions here
springVersion = '6.1.14'
springBootVersion = '3.3.5'
pooledJmsVersion = '3.1.7'
jUnitVersion = '4.13.2'
// MQ client has a 'jakarta' name
mqJar = 'com.ibm.mq.jakarta.client'
// Base level is Java 17 for Spring Boot 3
javaSourceCompatibility = JavaVersion.VERSION_17
javaTargetCompatibility = JavaVersion.VERSION_17
}
println("Using jms3.properties")
/*
* Make sure we're using Java 17 which is the base level for Spring Boot 3.
*/
println("Running build with Java version " + JavaVersion.current())
if(JavaVersion.current() < javaSourceCompatibility){
throw new GradleException("This build must be run with java " + javaSourceCompatibility + " or later. Current JDK is " + JavaVersion.current())
}