-
Notifications
You must be signed in to change notification settings - Fork 2
/
Makefile
59 lines (52 loc) · 1.63 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
49
50
51
52
53
54
55
56
57
58
59
#
# JPMS Attic: Samples
#
include ../tools/common.mk
all: gradle-platform modular-guava modular-guava-repo modular-proto modular-guava-maven
@echo "Samples ready."
gradle-platform: gradle-platform/app/build
gradle-platform/app/build:
@echo "Building Gradle Platform sample (Gradle, local repo)..."
$(RULE)cd gradle-platform && ./gradlew \
:app:build \
--refresh-dependencies \
--write-verification-metadata sha256,sha512,pgp \
--export-keys \
--write-locks
modular-guava: modular-guava/app/build
modular-guava/app/build:
@echo "Building Modular Guava sample (Gradle, local repo)..."
$(RULE)cd modular-guava && ./gradlew \
:app:build \
-x test \
-x check \
--refresh-dependencies \
--write-verification-metadata sha256,sha512,pgp \
--export-keys \
--write-locks
modular-guava-repo: modular-guava-repo/app/build
modular-guava-repo/app/build:
@echo "Building Modular Guava sample (Gradle, remote repo)..."
$(RULE)cd modular-guava-repo && ./gradlew \
:app:build \
-x test \
-x check \
--refresh-dependencies \
--write-verification-metadata sha256,sha512,pgp \
--export-keys \
--write-locks
modular-guava-maven: modular-guava-maven/target
modular-guava-maven/target:
@echo "Building Modular Guava sample (Maven, remote repo)..."
$(RULE)cd modular-guava-maven && mvn clean package exec:exec@modular
modular-proto: modular-proto/app/build
modular-proto/app/build:
@echo "Building Modular Protobuf sample (Gradle, local repo)..."
$(RULE)cd modular-proto && ./gradlew \
:app:build \
-x test \
-x check \
--refresh-dependencies \
--write-verification-metadata sha256,sha512,pgp \
--export-keys \
--write-locks