gradle-options := "--watch-fs"
cmd-prefix := "time"

# Print all recipes
default:
	just --list

# Deploys a snapshot to the local Maven repository
maven-local-snapshot:
	{{cmd-prefix}} ./gradlew publishToMavenLocal {{gradle-options}} -Dci=true

# Deploys a snapshot to the ASF snapshots repository
snapshot:
	{{cmd-prefix}} ./gradlew clean generateRelease {{gradle-options}} -Dci=true

