From ff154313a5bc4c2bfa1b1f1a523271b18969ee23 Mon Sep 17 00:00:00 2001 From: Ayushi Kumari Date: Tue, 9 Jun 2026 22:05:50 +0530 Subject: [PATCH] Updated Files as per Readme --- .../build.gradle | 5 ++-- gradle.properties | 25 +++++++------------ pom.xml | 16 ++++++++++++ 3 files changed, 28 insertions(+), 18 deletions(-) diff --git a/cics-java-liberty-springboot-transactions-app/build.gradle b/cics-java-liberty-springboot-transactions-app/build.gradle index 3f4ef39..bebb216 100644 --- a/cics-java-liberty-springboot-transactions-app/build.gradle +++ b/cics-java-liberty-springboot-transactions-app/build.gradle @@ -15,8 +15,9 @@ version = '0.1.0' // Java Configuration // ============================================================================ java { - sourceCompatibility = JavaVersion.toVersion(java_version) - targetCompatibility = JavaVersion.toVersion(java_version) + toolchain { + languageVersion = JavaLanguageVersion.of(java_version) + } } // ============================================================================ diff --git a/gradle.properties b/gradle.properties index ce648b0..eebe627 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,17 +1,10 @@ -# -# Values in this file provide defaults to variables used in the -# gradle files. -# - -# Normally we don't publish any built artifacts to a repository. -# But if we do, these are the default values we use to indicate -# where the files should be placed. -# -# These can be over-ridden from the command line -# with -Ppublish_repo_releases_url="file://my-folder" for example. -# -# These values only have any effect if the publish goal is used. -# For example: gradle build publish. -publish_repo_releases_url = 'default-value-for-publish_repo_releases_url' -publish_repo_releases_name = 'default-value-for-publish_repo_releases_name' java_version = 17 + +# Gradle daemon improves build performance +org.gradle.daemon=true + +# Enable parallel builds for faster compilation +org.gradle.parallel=true + +# Configuration cache disabled - CICS Bundle Plugin 1.0.8 not compatible +# org.gradle.configuration-cache=true diff --git a/pom.xml b/pom.xml index 90aa10d..3b5a1cb 100644 --- a/pom.xml +++ b/pom.xml @@ -50,4 +50,20 @@ cics-java-liberty-springboot-transactions-cicsbundle + + + + + + + + org.apache.maven.plugins + maven-compiler-plugin + + ${java.version} + + + + +