Please feel free to open bug reports to discuss new features; PRs are welcome as well :)
To run all tests on all Vaadin versions, simply run ./gradlew test
.
In order to run the tests on various JDKs easily, you can use docker:
- For Java 8 run
docker run -it --rm openjdk:8 /bin/bash
- For Java 11 run
docker run -it --rm openjdk:11 /bin/bash
- For Java 17 run
docker run -it --rm openjdk:17-alpine /bin/sh
then install git:apk add git
In docker, simply type in the following commands:
git clone https://github.com/mvysny/karibu-testing
cd karibu-testing
./gradlew test
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
; if releasing Karibu 2.0.0+ make sure you're building+releasing with Java JDK 17+; if releasing Karibu 1.x make sure you're building+releasing with Java 11 (not 17). - 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, then commit with the commit message "1.2.14-SNAPSHOT" and push.