![]() Putting the path to the JRebel library to use as the agent in a properties file allows multiple developers to have their own version. Gradle bootRun -PaddJRebel=true Finding the Rebel Base Then to use JRebel you just need to add the extra property. I have also added a debug message if the ‘rebelAgent’ property is not available.Īnother way would be to pass an optional property to the ‘bootRun’ task to use as a flag whether to add JRebel or not. Now running ‘bootRun’ would start the app normally, and if you want JRebel then use the ‘rebelRun’ task instead. There would be several ways of doing this, but one would be to add the JRebel startup configuration in an optional task. Make JRebel Optionalįor instance, what if you don’t always want JRebel everytime you start the app with ‘ bootRun’? JRebel plugins for IDE’s like Intellij IDEA are smart enough to give you the option of running your app with or without JRebel ![]() However there are several ways to improve on this. Then set the property in gradle.properties: It is basic but works fine.Īll you have to do is to add a few lines to adle: The packaged version of the buildpack, suitable for use with create-buildpack and update-buildpack, can be found attached to this release.There is some documentation on how to add JRebel to a Spring Boot app that uses Gradle as the build tool. This release fixes a bug related to the change in v4.55, where the buildpack uses a Python library - Python will also be removed from the cflinuxfs4 stack, so this change removes the reliance on this binary.įor a more detailed look at the changes in 4.56, please take a look at the commit log. I'm pleased to announce the release of the java-buildpack, version 4.56. The packaged version of the buildpack, suitable for use with create-buildpack and update-buildpack, can be found attached to this release.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |