Thank you so much for making the library better. Please feel free to open bug reports to discuss new features; PRs are welcome as well :)
Uses JUnit 5. Simply run ./gradlew test
to run all tests.
Make sure to test the Boot with all example apps, especially the Enter/CTRL+C handling:
- Run
./gradlew
to clean up any Vaadin production build leftovers - Run the
Main
class as a traditionalmain()
from Intellij and test that Enter shuts down the app correctly. - Run
./gradlew clean build testapp:run -Pvaadin.productionMode
and test that CTRL+C kills the app - Run
./gradlew clean build testapp-kotlin:run -Pvaadin.productionMode
and test that CTRL+C kills the app- Test both Vaadin UI by opening http://localhost:8080 in your browser, and also REST via
curl http://localhost:8080/rest
- Test both Vaadin UI by opening http://localhost:8080 in your browser, and also REST via
- Unzip
testapp/build/distributions/testapp-*.zip
, then run it and test that both CTRL+C and Enter correctly shuts down the app.
To release the library to Maven Central:
- Edit
build.gradle.kts
and remove-SNAPSHOT
in theversion=
stanza - Commit with the commit message of simply being the version being released, e.g. "1.2.13"
- git tag the commit with the same tag name as the commit message above, e.g.
1.2.13
git push
,git push --tags
- Run
./gradlew clean build publish
- Continue to the OSSRH Nexus and follow the release procedure.
- Add the
-SNAPSHOT
back to theversion=
while increasing the version to something which will be released in the future, e.g. 1.2.14-SNAPSHOT, then commit with the commit message "1.2.14-SNAPSHOT" and push.