We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 946988a commit eb665b7Copy full SHA for eb665b7
opamp-client/build.gradle.kts
@@ -11,6 +11,14 @@ java {
11
targetCompatibility = JavaVersion.VERSION_1_8
12
}
13
14
+tasks.withType<JavaCompile>().configureEach {
15
+ with(options) {
16
+ // Suppressing warnings about the usage of deprecated methods.
17
+ // This is needed because the Protobuf plugin (com.google.protobuf) generates code that uses deprecated methods.
18
+ compilerArgs.add("-Xlint:-deprecation")
19
+ }
20
+}
21
+
22
dependencies {
23
implementation("com.google.protobuf:protobuf-java")
24
annotationProcessor("com.google.auto.value:auto-value")
0 commit comments