You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using v1.0.6 of the cics-bundle-gradle plugin with a Gradle v7.6 build of a CICS bundle I get the following:
> Task :buildCICSBundle
Adding Java-based bundle parts from 'cicsBundlePart' dependency configuration
Adding Java-based bundle part: 'C:\Users\PhilWakelin\GitHub\cics-java-liberty-restapp\build\libs\cics-java-liberty-restapp.war'
Adding non-Java-based bundle parts from 'src/main/bundleParts'
Deprecated Gradle features were used in this build, making it incompatible with Gradle 8.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/7.6/userguide/command_line_interface.html#sec:command_line_warnings
BUILD SUCCESSFUL in 1s
5 actionable tasks: 5 executed
This is the output of: gradle clean build --warning-mode all which only complains about Gradle 9 not Gradle 8.
> Task :buildCICSBundle
The org.gradle.util.VersionNumber type has been deprecated. This is scheduled to be removed in Gradle 9.0. Consult the upgrading guide for further information: https://docs.gradle.org/7.6/userguide/upgrading_version_7.html#org_gradle_util_reports_deprecations
Adding Java-based bundle parts from 'cicsBundlePart' dependency configuration
Adding Java-based bundle part: 'C:\Users\PhilWakelin\GitHub\cics-java-liberty-restapp\build\libs\cics-java-liberty-restapp.war'
Adding non-Java-based bundle parts from 'src/main/bundleParts'
BUILD SUCCESSFUL in 1s
5 actionable tasks: 5 executed
Setup is:
Kotlin: 1.7.10
Groovy: 3.0.13
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 1.8.0_391 (IBM Corporation 2.9)
OS: Windows 11 10.0 amd64
I don't think there's a lot we can do about this one. The VersionNumber class was due to be removed in Gradle 8, but the removal was then moved forward to Gradle 9. So basically, at the version of Gradle you're using (7.6), Gradle fully believes that it will be removed in the next version. But move to Gradle 8 and you'll find it still supported.
Using v1.0.6 of the cics-bundle-gradle plugin with a Gradle v7.6 build of a CICS bundle I get the following:
This is the output of:
gradle clean build --warning-mode all
which only complains about Gradle 9 not Gradle 8.Setup is:
Kotlin: 1.7.10
Groovy: 3.0.13
Ant: Apache Ant(TM) version 1.10.11 compiled on July 10 2021
JVM: 1.8.0_391 (IBM Corporation 2.9)
OS: Windows 11 10.0 amd64
This is the sample build file in use https://github.com/cicsdev/cics-java-liberty-restapp/blob/main/build.gradle
The text was updated successfully, but these errors were encountered: