forked from grafana/otel-profiling-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
25 lines (19 loc) · 695 Bytes
/
Copy pathMakefile
File metadata and controls
25 lines (19 loc) · 695 Bytes
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
.PHONY: clean build build-otel-extension build-lib publish test
clean:
./gradlew clean
build:
./gradlew :otel-extension:shadowJar :lib:jar
build-otel-extension:
./gradlew :otel-extension:shadowJar
build-lib:
./gradlew :lib:jar
publish:
@echo "./gradlew clean assemble publishToSonatype closeAndReleaseSonatypeStagingRepository"
@./gradlew clean assemble publishToSonatype closeAndReleaseSonatypeStagingRepository \
-PsonatypeUsername="$(NEXUS_USERNAME)" \
-PsonatypePassword="$(NEXUS_PASSWORD)" \
-Psigning.secretKeyRingFile="$(NEXUS_GPG_SECRING_FILE)" \
-Psigning.password="$(NEXUS_GPG_PASSWORD)" \
-Psigning.keyId="$(NEXUS_GPG_KEY_ID)" --stacktrace
test:
./gradlew test