forked from mapbox/mapbox-events-android
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
48 lines (36 loc) · 1.37 KB
/
Makefile
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
38
39
40
41
42
43
44
45
46
47
48
checkstyle:
./gradlew checkstyle
test:
./gradlew :libtelemetry:downloadSchema
./gradlew test
test-coverage:
./gradlew testDebugUnitTestCoverage
./gradlew testFullDebugUnitTestCoverage
release:
./gradlew :libcore:assembleRelease
./gradlew :libtelemetry:assembleRelease
javadoc:
./gradlew :libcore:javadocrelease
./gradlew :libtelemetry:javadocFullRelease
publish-core:
export IS_LOCAL_DEVELOPMENT=false; ./gradlew :libcore:uploadArchives
publish-telem:
export IS_LOCAL_DEVELOPMENT=false; ./gradlew :libtelemetry:uploadArchives
publish-telem-lite:
export IS_LOCAL_DEVELOPMENT=false; export IS_LITE_RELEASE=true; ./gradlew :libtelemetry:uploadArchives
publish-local-core:
# This publishes to ~/.m2/repository/com/mapbox/mapboxsdk
export IS_LOCAL_DEVELOPMENT=true; ./gradlew :libcore:uploadArchives
publish-local-telem:
# This publishes to ~/.m2/repository/com/mapbox/mapboxsdk
export IS_LOCAL_DEVELOPMENT=true; ./gradlew :libtelemetry:uploadArchives
publish-local-telem-lite:
# This publishes to ~/.m2/repository/com/mapbox/mapboxsdk
export IS_LOCAL_DEVELOPMENT=true; export IS_LITE_RELEASE=true; ./gradlew :libtelemetry:uploadArchives
graphs:
./gradlew :libcore:generateDependencyGraphMapboxLibraries
./gradlew :libtelemetry:generateDependencyGraphMapboxLibraries
.PHONY: brew-java-install
brew-java-install:
brew tap homebrew/cask-versions
brew cask install adoptopen./jdk8