Releases: OpenLiberty/ci.gradle
Liberty Gradle Plug-in 3.5
Version 3.5 of the Liberty Gradle Plugin is a minor release with new functionality and some minor fixes.
Jakarta EE9 and MicroProfile 5 support has been added for the generateFeatures
task. This support is also included for the libertyDev
and libertyDevc
tasks when feature generation is turned on.
The Liberty Gradle Plugin now supports running with Java 17. The Liberty Gradle Plugin is tested with Long-Term-Support (LTS) releases of Java. The plugin, as of release 3.5, supports Java 8, 11 and 17. Prior to this version, the plugin is supported on Java 8 and 11.
Note: When running the Liberty Gradle Plugin with Java 17, the minimum supported version of Gradle is 7.3. That is when Gradle introduced full support for Java 17. Also, the Gradle wrapper should match the version of Gradle being used.
The following fixes are included in this release:
- Removed docker scan suggestion on devc docker build. (OpenLiberty/ci.maven#1575)
- Update README to include information on Java support.
- Add test case for multiple user feature.
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.5 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.4.1
Version 3.4.1 of the Liberty Gradle Plugin is a minor fix release.
Liberty dev
mode has been updated to disable generate features by default. A new warning explaining that the source configuration directory will be modified is now displayed when generate features is toggled on using the g
hotkey and when dev
mode is started with the generateFeatures
flag set to true
. For more information, refer to the libertyDev task and generateFeatures task documentation.
The following fixes are included in this release:
- An improved dev mode startup message and help menu to make the hotkeys stand out more
- Run generate features (if enabled) after a conflicting feature is removed from server configuration
- If toggling on generate features using the
g
hotkey creates theconfigDropins/overrides
directory, the generated features are now installed
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.4.1 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.4
Version 3.4 of the Liberty Gradle Plugin is a minor release with new functionality and some minor fixes.
The new functionality includes the generateFeatures
task. This task creates a Liberty configuration file, generated-features.xml
, containing the Liberty features required by the application. Refer to the generateFeatures task for more information.
With the new generateFeatures
task comes new behavior for Liberty dev
mode. By default, dev
mode will invoke the generateFeatures
task both at start-up and whenever code or configuration changes are detected. Users can toggle feature generation on and off with the new g
hotkey. Users can also optimize the generated feature list using the new o
hotkey.
The following fixes are included in this release:
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.4 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.3.1
Version 3.3.1 of the Liberty Gradle Plugin is a minor fix release.
The following fixes are included in this release:
- Allow
installDir
property to be specified on the command line #629 #651 - Fix for loose application in
dev
mode #653 - Fixes related to Gradle version 7.3.x and 7.4 and
installFeature
task #643 #666 #681 #655 #667 #691 - Fix
timeout
cast exception #684 #685 - Fix
configDirectory
up to date check #686 #714 - Add alternate output directory for
package
task andinstallFeature
task #693 #718
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.3.1 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.3
Version 3.3 of the Liberty Gradle Plugin is a minor release with new functionality and some minor fixes. The new functionality includes the prepareFeature
task for preparing user features for installation to the Liberty runtime. Refer to prepareFeature and the Open Liberty 21.0.0.11 blog for more information.
The following fixes are included in this release:
- Added support for
stripVersion
withlibertyApp
configuration #628 #630 - Clarified in
dev
mode documentation that Spring Boot applications are not supported withdev
mode.
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.3 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.2.1
Version 3.2.1 of the Liberty Gradle Plugin is a minor fix release.
The following fixes are included in this release:
- Fixed issue with resolving features due to change in Open Liberty 21.0.0.7 PR 277
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.2.1 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.2
Version 3.2 of the Liberty Gradle Plugin is a point release that adds support for Gradle version 7 and includes some minor fixes.
The following fixes are included in this release:
- Stop the server on the
libertyRun
task shutdown hook. - Add
project.gradle.gradleUserHomeDir
when running Gradle tasks fromlibertyDev
task. - Pass
liberty.runtime
properties tolibertyCreate
fromlibertyDev
task. - The file generated by the
libertyPackage
task is now an output for the task. - If
userDir
configuration is specified, pass it along for theconfigureArquillian
task which will set theusrDir
property forarquillian.xml
. - Generate default variables for
liberty.server.defaultVar
configuration intoconfigDropins/defaults
directory instead ofconfigDropins/overrides
directory. - Support
dockerBuildContext
parameter forlibertyDevc
task.
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.2 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.1.2
Version 3.1.2 of the Liberty Gradle Plugin is a minor fix release that primarily contains fixes for dev mode with containers.
The following fixes related to the libertyDevc
task are included in this release:
- Fixed an issue where an internal configuration file was included by the
libertyPackage
task after runninglibertyDevc
. - Improved messages relating to Docker build times when using
libertyDevc
.
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.1.2 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.1.1
Version 3.1.1 of the Liberty Gradle Plugin is a minor fix release that primarily contains fixes for dev mode with containers.
The following fixes related to the libertyDevc
task are included in this release:
- Support installing features on Open Liberty images with the
kernel-slim
tag. - Fixed an issue where various characters in the project name were causing the docker build to fail.
- Fixed an issue where an error message was shown when manually stopping the container started by
libertyDevc
. - Fixed an issue with using
libertyDevc
in a Windows VM. - Fixed an issue with using ADD or COPY commands with URLs in the Dockerfile.
The following additional fixes are also included in this release:
- Added Github Actions for builds.
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.1.1 release is available on the Maven Central repository.
Liberty Gradle Plug-in 3.1
Version 3.1 of the Liberty Gradle Plugin is a minor release that contains new functionality, plus some minor fixes. The new functionality includes the libertyDevc
task.
libertyDevc task
This release includes the general availability of the new libertyDevc
task for Liberty Dev mode to start the server in a Docker container. Refer to the docs for the libertyDevc task for more information.
The following fixes related to the libertyDev
and libertyDevc
tasks are included in this release since the previous milestone release.
Startup changes:
- Skip installing local runtime when starting
libertyDevc
- Auto-resolve port conflicts on
libertyDevc
startup - Pull the latest parent image specified in the Dockerfile during
libertyDevc
startup - Check for supported Docker version on
libertyDevc
startup - Disabled OpenJ9 SCC when
libertyDevc
builds docker image - The
libertyDev
andlibertyDevc
startup message format was improved and nowlibertyDevc
startup displays:
-- internal container ports and mapped host ports
-- container name, IP address, and connected Docker network
Updated messaging:
- Changed Docker port mapping errors to warnings
- Added an error message when incompatible Java versions are used between the host and container.
- Display warning when users attempt to install features not included with the beta runtime
- Fixed an issue where a
docker stop
error was shown when the container failed to start
File tracking changes:
- Track Dockerfile changes and rebuild image on changes
- Track folders specified in Dockerfile COPY commands and rebuild image on changes
- Track folders and files specified in Dockerfile ADD commands and rebuild image on changes
Other fixes:
- Changed dev mode's container naming convention to use hyphens instead of underscores
- Let user provided container name override dev mode default container name
- Fixed an issue with auto-resolving port conflicts on Windows
- Added an option to keep the temporary Dockerfile that dev mode uses to build the Docker image
Additional fixes
The following fixes are also included in this release since the previous milestone release.
- Fixed resolution of Liberty directory properties in the location attribute of the include element in the server.xml file
- Fixed a .classpath issue affecting Eclipse and VS Code IDEs
See the commit log for the full set of the changes since the previous milestone release.
The Liberty Gradle Plugin 3.1 release is available on the Maven Central repository.