aboutsummaryrefslogtreecommitdiff
path: root/spark-common/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'spark-common/build.gradle')
-rw-r--r--spark-common/build.gradle14
1 files changed, 12 insertions, 2 deletions
diff --git a/spark-common/build.gradle b/spark-common/build.gradle
index 7a69e86..ea4019d 100644
--- a/spark-common/build.gradle
+++ b/spark-common/build.gradle
@@ -5,12 +5,13 @@ plugins {
dependencies {
compile 'com.github.jvm-profiling-tools:async-profiler:v2.0'
compile 'org.ow2.asm:asm:7.1'
- compile 'com.google.protobuf:protobuf-java:3.14.0'
+ compile 'com.google.protobuf:protobuf-javalite:3.15.6'
compile 'com.squareup.okhttp3:okhttp:3.14.1'
compile 'com.squareup.okio:okio:1.17.3'
compile 'org.tukaani:xz:1.8'
compile('net.kyori:adventure-api:4.7.0') {
exclude(module: 'checker-qual')
+ exclude(module: 'annotations')
}
compile('net.kyori:adventure-text-serializer-gson:4.7.0') {
exclude(module: 'adventure-api')
@@ -34,7 +35,16 @@ processResources {
protobuf {
protoc {
- artifact = 'com.google.protobuf:protoc:3.14.0'
+ artifact = 'com.google.protobuf:protoc:3.15.6'
//path = '/opt/homebrew/bin/protoc' // required to support building on osx-aarch64
}
+ generateProtoTasks {
+ all().each { task ->
+ task.builtins {
+ java {
+ option 'lite'
+ }
+ }
+ }
+ }
}