forked from line/centraldogma
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
29 lines (24 loc) · 1 KB
/
build.gradle
File metadata and controls
29 lines (24 loc) · 1 KB
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
dependencies {
// DiffUtils
implementation libs.diffutils
// Jackson
implementation libs.jackson.annotations
implementation libs.jackson.core
implementation libs.jackson.databind
implementation libs.jackson.datatype.jsr310
// Guava
implementation libs.guava
// JSON-path
implementation libs.json.path
}
if (tasks.findByName('trimShadedJar')) {
tasks.trimShadedJar.configure {
keep "class !com.linecorp.centraldogma.internal.shaded.**,com.linecorp.centraldogma.** { *; }"
// Do not optimize the dependencies that access some fields via sun.misc.Unsafe or reflection only.
keep "class com.linecorp.centraldogma.internal.shaded.caffeine.** { *; }"
// Prevent ProGuard from removing all enum values from Option because otherwise it becomes a non-enum class.
keep "class com.linecorp.centraldogma.internal.shaded.jsonpath.Option { *; }"
// Reduces the verbosity of ProGuardTask when running in parallel.
dontnote
}
}