-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
34 lines (27 loc) · 886 Bytes
/
justfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# just displays the recipes
_default:
@just --list
# clean the project
clean:
./gradlew clean
# build the project and run the tests
build:
./gradlew build
# run the tests
test:
./gradlew test
# build and assemble the jar
jar:
./gradlew clean build assemble --warning-mode all
# installs the library in the local maven repository
install:
./gradlew publishToMavenLocal
# release the library by creating a tag and pushing it to the remote repository
release-create version:
git tag -a v{{version}} -m "Release version {{version}}"
git push origin v{{version}}
open https://github.com/igr/julian-day/tags
# closes and release staging repository, after the release is published
release-publish:
./gradlew findSonatypeStagingRepository closeSonatypeStagingRepository
./gradlew findSonatypeStagingRepository releaseSonatypeStagingRepository