You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simplified API for starting external processes and executable JARs. Allows easy capturing stdout and stderr and forwarding to log output.
48
+
49
+
## Development
50
+
51
+
### Check if dependencies are up-to-date
52
+
53
+
```sh
54
+
./gradlew dependencyUpdates
55
+
```
56
+
57
+
### Building
58
+
59
+
Install to local maven repository:
60
+
61
+
```sh
62
+
./gradlew publishToMavenLocal
63
+
```
64
+
65
+
### Test Coverage
66
+
67
+
To calculate and view test coverage:
68
+
69
+
```sh
70
+
./gradlew check jacocoTestReport
71
+
open build/reports/jacoco/test/html/index.html
72
+
```
73
+
74
+
### View Generated Javadoc
75
+
76
+
```sh
77
+
./gradlew javadoc
78
+
open build/docs/javadoc/index.html
79
+
```
80
+
81
+
### Publish to Maven Central
82
+
83
+
#### Preparations
84
+
85
+
1. Checkout the `main` branch, create a new branch.
86
+
2. Update version number in `build.gradle` and `README.md`.
87
+
3. Add changes in new version to `CHANGELOG.md`.
88
+
4. Commit and push changes.
89
+
5. Create a new pull request, have it reviewed and merged to `main`.
90
+
91
+
#### Perform the Release
92
+
93
+
1. Start the release workflow
94
+
* Run command `gh workflow run release.yml --repo itsallcode/simple-process --ref main`
95
+
* or go to [GitHub Actions](https://github.com/itsallcode/simple-process/actions/workflows/release.yml) and start the `release.yml` workflow on branch `main`.
96
+
2. Update title and description of the newly created [GitHub release](https://github.com/itsallcode/simple-process/releases).
97
+
3. After some time the release will be available at [Maven Central](https://repo1.maven.org/maven2/org/itsallcode/simple-process/).
0 commit comments