diff options
author | Luck <git@lucko.me> | 2022-12-23 20:22:25 +0000 |
---|---|---|
committer | Luck <git@lucko.me> | 2022-12-23 20:22:25 +0000 |
commit | aa2d1e4c0de3508bca3070fcdf3a0a05497cedcb (patch) | |
tree | f7f067836a7d7787eefe13aadac01351f67a2c54 /spark-common | |
parent | 521cf8889ea4938b93691233178640fea06db69e (diff) | |
download | spark-aa2d1e4c0de3508bca3070fcdf3a0a05497cedcb.tar.gz spark-aa2d1e4c0de3508bca3070fcdf3a0a05497cedcb.tar.bz2 spark-aa2d1e4c0de3508bca3070fcdf3a0a05497cedcb.zip |
Bump protobuf version
Diffstat (limited to 'spark-common')
-rw-r--r-- | spark-common/build.gradle | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/spark-common/build.gradle b/spark-common/build.gradle index 4a20142..176ea42 100644 --- a/spark-common/build.gradle +++ b/spark-common/build.gradle @@ -1,16 +1,24 @@ +import org.cadixdev.gradle.licenser.LicenseExtension + plugins { - id 'com.google.protobuf' version '0.8.16' + id 'com.google.protobuf' version '0.9.1' } license { exclude '**/sampler/async/jfr/**' } +extensions.configure(LicenseExtension.class) { + it.exclude { + it.file.toString().startsWith(buildDir.toString()) + } +} + dependencies { api project(':spark-api') implementation 'com.github.jvm-profiling-tools:async-profiler:v2.8.3' implementation 'org.ow2.asm:asm:9.1' - implementation 'com.google.protobuf:protobuf-javalite:3.15.6' + implementation 'com.google.protobuf:protobuf-javalite:3.21.11' implementation 'net.bytebuddy:byte-buddy-agent:1.11.0' api('net.kyori:adventure-api:4.11.0') { exclude(module: 'adventure-bom') @@ -36,11 +44,7 @@ dependencies { protobuf { protoc { - if (System.getProperty("os.name") == "Mac OS X" && System.getProperty("os.arch") == "aarch64") { - path = '/opt/homebrew/bin/protoc' - } else { - artifact = 'com.google.protobuf:protoc:3.15.6' - } + artifact = 'com.google.protobuf:protoc:3.21.11' } generateProtoTasks { all().each { task -> |