forked from getsentry/sentry-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
37 lines (28 loc) · 775 Bytes
/
Makefile
File metadata and controls
37 lines (28 loc) · 775 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
26
27
28
29
30
31
32
33
34
35
36
37
.PHONY: all clean compile dryRelease update stop checkFormat format api
all: stop clean checkFormat compile dryRelease
# deep clean
clean:
./gradlew clean
rm -rf distributions
# build and run tests
compile:
./gradlew build
# do a dry release (like a local deploy)
dryRelease:
./gradlew publishToMavenLocal --no-daemon --no-parallel
# check for dependencies update
update:
./gradlew dependencyUpdates -Drevision=release
# We stop gradle at the end to make sure the cache folders
# don't contain any lock files and are free to be cached.
stop:
./gradlew --stop
# Spotless check's code
checkFormat:
./gradlew spotlessJavaCheck spotlessKotlinCheck
# Spotless format's code
format:
./gradlew spotlessApply
# Binary compatibility validator
api:
./gradlew apiDump