Skip to content

Commit c544a69

Browse files
authored
Set Gradle warning mode back to fail (opensearch-project#20390)
The protobuf gradle plugin has been updated to remove the gradle warning so we can change back to fail on gradle warnings. Also change the protobuf gradle plugin to use a specific version to make the build more reproducible. Signed-off-by: Andrew Ross <andrross@amazon.com>
1 parent 733931b commit c544a69

2 files changed

Lines changed: 2 additions & 5 deletions

File tree

gradle.properties

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,7 @@ options.forkOptions.memoryMaximumSize=3g
2626
systemProp.org.gradle.dependency.duplicate.project.detection=false
2727

2828
# Enforce the build to fail on deprecated gradle api usage
29-
# TODO: Waiting for https://github.com/google/protobuf-gradle-plugin/commit/894f2d25e2b511bc11661f4d23e47ee0671e82ad
30-
# to be released in the Protobuf gradle plugin, at which this point can be changed
31-
# back to `fail`
32-
systemProp.org.gradle.warning.mode=all
29+
systemProp.org.gradle.warning.mode=fail
3330

3431
systemProp.jdk.tls.client.protocols=TLSv1.2,TLSv1.3
3532

server/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
import groovy.xml.XmlParser
3232

3333
plugins {
34-
id('com.google.protobuf') version 'latest.release'
34+
id('com.google.protobuf') version '0.9.6'
3535
id('opensearch.build')
3636
id('opensearch.publish')
3737
id('opensearch.internal-cluster-test')

0 commit comments

Comments
 (0)