Skip to content

Commit ff15431

Browse files
committed
Updated Files as per Readme
1 parent 2532017 commit ff15431

3 files changed

Lines changed: 28 additions & 18 deletions

File tree

cics-java-liberty-springboot-transactions-app/build.gradle

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,9 @@ version = '0.1.0'
1515
// Java Configuration
1616
// ============================================================================
1717
java {
18-
sourceCompatibility = JavaVersion.toVersion(java_version)
19-
targetCompatibility = JavaVersion.toVersion(java_version)
18+
toolchain {
19+
languageVersion = JavaLanguageVersion.of(java_version)
20+
}
2021
}
2122

2223
// ============================================================================

gradle.properties

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
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'
171
java_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

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,20 @@
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>

0 commit comments

Comments
 (0)