Wrapper to simplify working with external processes.
This project is at an early development stage and the API will change without backwards compatibility.
This project requires Java 17 or later.
Add dependency to your Gradle project:
dependencies {
implementation 'org.itsallcode:simple-process:0.1.0'
}
Add dependency to your Maven project:
<dependency>
<groupId>org.itsallcode</groupId>
<artifactId>simple-process</artifactId>
<version>0.1.0</version>
</dependency>
Simplified API for starting external processes and executable JARs. Allows easy capturing stdout and stderr and forwarding to log output.
./gradlew dependencyUpdates
Install to local maven repository:
./gradlew publishToMavenLocal
To calculate and view test coverage:
./gradlew check jacocoTestReport
open build/reports/jacoco/test/html/index.html
./gradlew javadoc
open build/docs/javadoc/index.html
- Checkout the
main
branch, create a new branch. - Update version number in
build.gradle
andREADME.md
. - Add changes in new version to
CHANGELOG.md
. - Commit and push changes.
- Create a new pull request, have it reviewed and merged to
main
.
- Start the release workflow
- Run command
gh workflow run release.yml --repo itsallcode/simple-process --ref main
- or go to GitHub Actions and start the
release.yml
workflow on branchmain
.
- Update title and description of the newly created GitHub release.
- After some time the release will be available at Maven Central.