Skip to content

Commit 9630654

Browse files
committed
Reference PR build for protobuf plugin
Temporary fix until the PR against the protobuf plugin at google/protobuf-gradle-plugin#786 is merged.
1 parent 665cfac commit 9630654

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

x-pack/plugin/otel-data/build.gradle

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,28 @@
66
*/
77
import org.elasticsearch.gradle.transform.UnzipTransform
88
import com.google.protobuf.gradle.GenerateProtoTask
9+
10+
buildscript {
11+
repositories {
12+
maven { url = "https://jitpack.io" }
13+
}
14+
dependencies {
15+
classpath 'com.github.google:protobuf-gradle-plugin:PR786-SNAPSHOT'
16+
}
17+
}
18+
919
plugins {
1020
id 'elasticsearch.internal-es-plugin'
1121
id 'elasticsearch.internal-yaml-rest-test'
1222
id 'elasticsearch.internal-java-rest-test'
1323
id 'elasticsearch.internal-cluster-test'
14-
id('com.google.1protobuf') version '0.9.5'
24+
// We rely on a snapshot including a fix for 9.1 compatibility.
25+
// See https://github.com/google/protobuf-gradle-plugin/pull/786
26+
// id('com.google.protobuf') version '0.9.5'
1527
}
1628

29+
apply plugin:"com.google.protobuf"
30+
1731
esplugin {
1832
name = 'x-pack-otel-data'
1933
description = 'The OTEL plugin defines OTEL data streams and ingest pipelines.'

0 commit comments

Comments
 (0)