File tree Expand file tree Collapse file tree
cics-java-liberty-springboot-transactions-app Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,8 +15,9 @@ version = '0.1.0'
1515// Java Configuration
1616// ============================================================================
1717java {
18- sourceCompatibility = JavaVersion . toVersion(java_version)
19- targetCompatibility = JavaVersion . toVersion(java_version)
18+ toolchain {
19+ languageVersion = JavaLanguageVersion . of(java_version)
20+ }
2021}
2122
2223// ============================================================================
Original file line number Diff line number Diff line change 1- #
2- # Values in this file provide defaults to variables used in the
3- # gradle files.
4- #
5-
6- # Normally we don't publish any built artifacts to a repository.
7- # But if we do, these are the default values we use to indicate
8- # where the files should be placed.
9- #
10- # These can be over-ridden from the command line
11- # with -Ppublish_repo_releases_url="file://my-folder" for example.
12- #
13- # These values only have any effect if the publish goal is used.
14- # For example: gradle build publish.
15- publish_repo_releases_url = 'default-value-for-publish_repo_releases_url'
16- publish_repo_releases_name = 'default-value-for-publish_repo_releases_name'
171java_version = 17
2+
3+ # Gradle daemon improves build performance
4+ org.gradle.daemon =true
5+
6+ # Enable parallel builds for faster compilation
7+ org.gradle.parallel =true
8+
9+ # Configuration cache disabled - CICS Bundle Plugin 1.0.8 not compatible
10+ # org.gradle.configuration-cache=true
Original file line number Diff line number Diff line change 5050 <module >cics-java-liberty-springboot-transactions-cicsbundle</module >
5151 </modules >
5252
53+ <!-- ================================================================ -->
54+ <!-- Build Configuration -->
55+ <!-- ================================================================ -->
56+ <build >
57+ <plugins >
58+ <!-- Maven Compiler Plugin with release parameter -->
59+ <plugin >
60+ <groupId >org.apache.maven.plugins</groupId >
61+ <artifactId >maven-compiler-plugin</artifactId >
62+ <configuration >
63+ <release >${java.version} </release >
64+ </configuration >
65+ </plugin >
66+ </plugins >
67+ </build >
68+
5369</project >
You can’t perform that action at this time.
0 commit comments