mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-19 18:00:39 +01:00
build.gradle: update protobuf-gradle-plugin to 0.9.1
This commit is contained in:
parent
abbd7b5ac6
commit
3c2d199ac6
@ -6,7 +6,7 @@ buildscript {
|
|||||||
}
|
}
|
||||||
// If using Gradle 7, use the compatible protobuf plugin, else use the one that works with oldest supported Gradle
|
// If using Gradle 7, use the compatible protobuf plugin, else use the one that works with oldest supported Gradle
|
||||||
boolean isGradle7 = GradleVersion.current().compareTo(GradleVersion.version("7.0")) >= 0
|
boolean isGradle7 = GradleVersion.current().compareTo(GradleVersion.version("7.0")) >= 0
|
||||||
def gradleProtobufVersion = isGradle7 ? "0.8.18" : "0.8.10"
|
def gradleProtobufVersion = isGradle7 ? "0.9.1" : "0.8.10"
|
||||||
if (isGradle7) {
|
if (isGradle7) {
|
||||||
System.err.println "Warning: Using com.google.protobuf:protobuf-gradle-plugin:${gradleProtobufVersion} because ${GradleVersion.current()}"
|
System.err.println "Warning: Using com.google.protobuf:protobuf-gradle-plugin:${gradleProtobufVersion} because ${GradleVersion.current()}"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user