Use plugins block everywhere for applying plugins (#3386)
* Use plugins block everywhere for applying plugins * Actually it's library instrumentation
This commit is contained in:
parent
eb897a80d9
commit
deb0e255cf
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
description = 'e2e benchmark'
|
description = 'e2e benchmark'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "com.github.johnrengelman.shadow"
|
id("com.github.johnrengelman.shadow")
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: "otel.java-conventions"
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
description = 'Integration Level Agent benchmarks.'
|
description = 'Integration Level Agent benchmarks.'
|
||||||
|
|
||||||
|
|
@ -10,8 +10,5 @@ sourceCompatibility = 1.8
|
||||||
targetCompatibility = 1.8
|
targetCompatibility = 1.8
|
||||||
|
|
||||||
subprojects { sub ->
|
subprojects { sub ->
|
||||||
sub.apply plugin: 'com.github.johnrengelman.shadow'
|
|
||||||
sub.apply plugin: "otel.java-conventions"
|
|
||||||
|
|
||||||
javadoc.enabled = false
|
javadoc.enabled = false
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,9 @@
|
||||||
|
plugins {
|
||||||
|
id("com.github.johnrengelman.shadow")
|
||||||
|
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation project(':javaagent-bootstrap')
|
implementation project(':javaagent-bootstrap')
|
||||||
implementation project(':benchmark-integration')
|
implementation project(':benchmark-integration')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "org.gradle.playframework" version "0.9"
|
id "org.gradle.playframework" version "0.9"
|
||||||
|
id("com.github.johnrengelman.shadow")
|
||||||
|
|
||||||
|
id("otel.java-conventions")
|
||||||
}
|
}
|
||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,9 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "me.champeau.jmh"
|
id("me.champeau.jmh")
|
||||||
id "com.github.johnrengelman.shadow"
|
id("com.github.johnrengelman.shadow")
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: "otel.java-conventions"
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
jmh platform(project(":dependencyManagement"))
|
jmh platform(project(":dependencyManagement"))
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id("java-platform")
|
id("java-platform")
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: "otel.publish-conventions"
|
id("otel.publish-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
description = "OpenTelemetry Instrumentation Bill of Materials (Alpha)"
|
description = "OpenTelemetry Instrumentation Bill of Materials (Alpha)"
|
||||||
group = "io.opentelemetry.instrumentation"
|
group = "io.opentelemetry.instrumentation"
|
||||||
|
|
|
||||||
11
build.gradle
11
build.gradle
|
|
@ -52,15 +52,6 @@ nexusPublishing {
|
||||||
description = 'OpenTelemetry instrumentations for Java'
|
description = 'OpenTelemetry instrumentations for Java'
|
||||||
|
|
||||||
allprojects {
|
allprojects {
|
||||||
apply plugin: 'idea'
|
|
||||||
|
|
||||||
idea {
|
|
||||||
module {
|
|
||||||
downloadJavadoc = false
|
|
||||||
downloadSources = false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
plugins.withId('net.ltgt.nullaway') {
|
plugins.withId('net.ltgt.nullaway') {
|
||||||
dependencies {
|
dependencies {
|
||||||
errorprone "com.uber.nullaway:nullaway"
|
errorprone "com.uber.nullaway:nullaway"
|
||||||
|
|
@ -82,8 +73,6 @@ allprojects {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: 'com.diffplug.spotless'
|
|
||||||
|
|
||||||
spotless {
|
spotless {
|
||||||
// this formatting is applied at the root level, as some of these files are not in a submodules
|
// this formatting is applied at the root level, as some of these files are not in a submodules
|
||||||
// and would be missed otherwise
|
// and would be missed otherwise
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ plugins {
|
||||||
groovy
|
groovy
|
||||||
checkstyle
|
checkstyle
|
||||||
codenarc
|
codenarc
|
||||||
|
idea
|
||||||
|
|
||||||
id("org.gradle.test-retry")
|
id("org.gradle.test-retry")
|
||||||
|
|
||||||
|
|
@ -251,3 +252,10 @@ checkstyle {
|
||||||
toolVersion = "8.37"
|
toolVersion = "8.37"
|
||||||
maxWarnings = 0
|
maxWarnings = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
idea {
|
||||||
|
module {
|
||||||
|
setDownloadJavadoc(false)
|
||||||
|
setDownloadSources(false)
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -155,7 +155,9 @@ from instrumented server or library will be used.
|
||||||
|
|
||||||
Create a module called `compile-stub` and add `compile-stub.gradle` with following content
|
Create a module called `compile-stub` and add `compile-stub.gradle` with following content
|
||||||
```
|
```
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
```
|
```
|
||||||
In javaagent module add compile only dependency with
|
In javaagent module add compile only dependency with
|
||||||
```
|
```
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "com.github.johnrengelman.shadow"
|
id("com.github.johnrengelman.shadow")
|
||||||
|
|
||||||
|
id("otel.java-conventions")
|
||||||
|
id("otel.publish-conventions")
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'io.opentelemetry.instrumentation'
|
group = 'io.opentelemetry.instrumentation'
|
||||||
|
|
||||||
apply plugin: "otel.java-conventions"
|
|
||||||
apply plugin: "otel.publish-conventions"
|
|
||||||
|
|
||||||
configurations {
|
configurations {
|
||||||
shadowInclude {
|
shadowInclude {
|
||||||
canBeResolved = true
|
canBeResolved = true
|
||||||
|
|
|
||||||
|
|
@ -1,13 +1,12 @@
|
||||||
plugins {
|
plugins {
|
||||||
id 'org.xbib.gradle.plugin.jflex' version '1.5.0'
|
id 'org.xbib.gradle.plugin.jflex' version '1.5.0'
|
||||||
|
id("otel.java-conventions")
|
||||||
|
id("otel.jacoco-conventions")
|
||||||
|
id("otel.publish-conventions")
|
||||||
}
|
}
|
||||||
|
|
||||||
group = 'io.opentelemetry.instrumentation'
|
group = 'io.opentelemetry.instrumentation'
|
||||||
|
|
||||||
apply plugin: "otel.java-conventions"
|
|
||||||
apply plugin: "otel.jacoco-conventions"
|
|
||||||
apply plugin: "otel.publish-conventions"
|
|
||||||
|
|
||||||
def jflexTargetDir = file"${project.buildDir}/generated/jflex/sql"
|
def jflexTargetDir = file"${project.buildDir}/generated/jflex/sql"
|
||||||
|
|
||||||
def sqlSanitizerJflex = tasks.register("sqlSanitizerJflex", org.xbib.gradle.plugin.JFlexTask) {
|
def sqlSanitizerJflex = tasks.register("sqlSanitizerJflex", org.xbib.gradle.plugin.JFlexTask) {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
apply plugin: "otel.scala-conventions"
|
id("otel.javaagent-instrumentation")
|
||||||
|
id("otel.scala-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
apply plugin: "otel.scala-conventions"
|
id("otel.javaagent-instrumentation")
|
||||||
|
id("otel.scala-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
apply plugin: "otel.scala-conventions"
|
id("otel.javaagent-instrumentation")
|
||||||
|
id("otel.scala-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation project(':instrumentation:apache-camel-2.20:javaagent')
|
testImplementation project(':instrumentation:apache-camel-2.20:javaagent')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
library "org.apache.dubbo:dubbo:2.7.0"
|
library "org.apache.dubbo:dubbo:2.7.0"
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,7 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "java-library"
|
id("otel.java-conventions")
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: "otel.java-conventions"
|
|
||||||
|
|
||||||
def apacheDubboVersion = '2.7.5'
|
def apacheDubboVersion = '2.7.5'
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
group = "commons-httpclient"
|
group = "commons-httpclient"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
fail {
|
fail {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
apply plugin: "net.ltgt.nullaway"
|
id("otel.library-instrumentation")
|
||||||
|
id("net.ltgt.nullaway")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
library "com.linecorp.armeria:armeria:1.3.0"
|
library "com.linecorp.armeria:armeria:1.3.0"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':testing-common')
|
api project(':testing-common')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,6 @@
|
||||||
/*
|
plugins {
|
||||||
* Copyright The OpenTelemetry Authors
|
id("otel.javaagent-instrumentation")
|
||||||
*
|
}
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,19 +1,6 @@
|
||||||
/*
|
plugins {
|
||||||
* Copyright The OpenTelemetry Authors
|
id("otel.library-instrumentation")
|
||||||
*
|
}
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
apply plugin: "otel.library-instrumentation"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "io.opentelemetry:opentelemetry-sdk"
|
compileOnly "io.opentelemetry:opentelemetry-sdk"
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,6 @@
|
||||||
/*
|
plugins {
|
||||||
* Copyright The OpenTelemetry Authors
|
id("otel.java-conventions")
|
||||||
*
|
}
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
apply plugin: "otel.java-conventions"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':testing-common')
|
api project(':testing-common')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':testing-common')
|
api project(':testing-common')
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
apply plugin: 'org.unbroken-dome.test-sets'
|
id("otel.javaagent-instrumentation")
|
||||||
|
id("org.unbroken-dome.test-sets")
|
||||||
|
}
|
||||||
|
|
||||||
// compiling against 1.11.0, but instrumentation should work against 1.10.33 with varying effects,
|
// compiling against 1.11.0, but instrumentation should work against 1.10.33 with varying effects,
|
||||||
// depending on the version's implementation. (i.e. DeleteOptionGroup may have less handlerCounts than
|
// depending on the version's implementation. (i.e. DeleteOptionGroup may have less handlerCounts than
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "io.opentelemetry:opentelemetry-extension-aws"
|
implementation "io.opentelemetry:opentelemetry-extension-aws"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':testing-common')
|
api project(':testing-common')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation "io.opentelemetry:opentelemetry-extension-aws"
|
implementation "io.opentelemetry:opentelemetry-extension-aws"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':testing-common')
|
api project(':testing-common')
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,11 @@
|
||||||
// Set properties before any plugins get loaded
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
ext {
|
ext {
|
||||||
cassandraDriverTestVersions = "[3.0,4.0)"
|
cassandraDriverTestVersions = "[3.0,4.0)"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
|
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation "org.codehaus.groovy:groovy-all"
|
testImplementation "org.codehaus.groovy:groovy-all"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
// Version 2.7.5 and 2.7.8 were not released properly and muzzle cannot test against it causing failure.
|
// Version 2.7.5 and 2.7.8 were not released properly and muzzle cannot test against it causing failure.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':testing-common')
|
api project(':testing-common')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
apply plugin: 'org.unbroken-dome.test-sets'
|
id("otel.javaagent-instrumentation")
|
||||||
|
id("org.unbroken-dome.test-sets")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "org.elasticsearch.client:rest:5.0.0"
|
compileOnly "org.elasticsearch.client:rest:5.0.0"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
// No dependencies, elasticsearch library not actually used here.
|
// No dependencies, elasticsearch library not actually used here.
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation project(':instrumentation-api')
|
testImplementation project(':instrumentation-api')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
apply plugin: "otel.scala-conventions"
|
id("otel.javaagent-instrumentation")
|
||||||
|
id("otel.scala-conventions")
|
||||||
apply plugin: 'org.unbroken-dome.test-sets'
|
id("org.unbroken-dome.test-sets")
|
||||||
|
}
|
||||||
|
|
||||||
testSets {
|
testSets {
|
||||||
// We need separate test sources to compile against latest Finatra.
|
// We need separate test sources to compile against latest Finatra.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,20 +1,6 @@
|
||||||
/*
|
plugins {
|
||||||
* Copyright The OpenTelemetry Authors
|
id("otel.javaagent-instrumentation")
|
||||||
*
|
}
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
def grpcVersion = '1.6.0'
|
def grpcVersion = '1.6.0'
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
plugins {
|
plugins {
|
||||||
id "java-library"
|
id("otel.java-conventions")
|
||||||
id "com.google.protobuf" version "0.8.16"
|
id("com.google.protobuf") version "0.8.16"
|
||||||
}
|
}
|
||||||
|
|
||||||
apply plugin: "otel.java-conventions"
|
|
||||||
|
|
||||||
def grpcVersion = '1.6.0'
|
def grpcVersion = '1.6.0'
|
||||||
|
|
||||||
protobuf {
|
protobuf {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
library "com.google.guava:guava:10.0"
|
library "com.google.guava:guava:10.0"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,9 @@
|
||||||
* instrumentation isn't able to reference it.
|
* instrumentation isn't able to reference it.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
apply plugin: 'org.unbroken-dome.test-sets'
|
id("otel.javaagent-instrumentation")
|
||||||
|
id("org.unbroken-dome.test-sets")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,9 @@
|
||||||
/*
|
/*
|
||||||
* Classes that are common to all versions of the Hibernate instrumentation.
|
* Classes that are common to all versions of the Hibernate instrumentation.
|
||||||
*/
|
*/
|
||||||
|
plugins {
|
||||||
apply plugin: "otel.library-instrumentation"
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly project(':javaagent-api')
|
compileOnly project(':javaagent-api')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
// this project will run in isolation under the agent's classloader
|
// this project will run in isolation under the agent's classloader
|
||||||
plugins {
|
plugins {
|
||||||
id "otel.shadow-conventions"
|
id("otel.shadow-conventions")
|
||||||
|
id("otel.java-conventions")
|
||||||
}
|
}
|
||||||
apply plugin: "otel.java-conventions"
|
|
||||||
|
|
||||||
Project instr_project = project
|
Project instr_project = project
|
||||||
subprojects {
|
subprojects {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly project(':javaagent-bootstrap')
|
compileOnly project(':javaagent-bootstrap')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
// this instrumentation applies to the class 'org.eclipse.osgi.internal.loader.BundleLoader'
|
// this instrumentation applies to the class 'org.eclipse.osgi.internal.loader.BundleLoader'
|
||||||
// which is present in the following artifacts dating back to version 3.6 (2010):
|
// which is present in the following artifacts dating back to version 3.6 (2010):
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation project(':instrumentation:internal:internal-proxy:javaagent')
|
testImplementation project(':instrumentation:internal:internal-proxy:javaagent')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly project(':javaagent-bootstrap')
|
compileOnly project(':javaagent-bootstrap')
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
ext.skipPublish = true
|
plugins {
|
||||||
|
id("otel.javaagent-testing")
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
testImplementation "org.apache.commons:commons-lang3:3.12.0"
|
testImplementation "org.apache.commons:commons-lang3:3.12.0"
|
||||||
|
|
|
||||||
|
|
@ -1 +1,3 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
fail {
|
fail {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
// Cant assert fails because muzzle assumes all instrumentations will fail
|
// Cant assert fails because muzzle assumes all instrumentations will fail
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
// Cant assert fails because muzzle assumes all instrumentations will fail
|
// Cant assert fails because muzzle assumes all instrumentations will fail
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
// Cant assert fails because muzzle assumes all instrumentations will fail
|
// Cant assert fails because muzzle assumes all instrumentations will fail
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
// Cant assert fails because muzzle assumes all instrumentations will fail
|
// Cant assert fails because muzzle assumes all instrumentations will fail
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "javax.ws.rs:javax.ws.rs-api:2.0"
|
compileOnly "javax.ws.rs:javax.ws.rs-api:2.0"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.java-conventions"
|
plugins {
|
||||||
|
id("otel.java-conventions")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api project(':testing-common')
|
api project(':testing-common')
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "org.apache.axis2:axis2-jaxws:1.6.0"
|
compileOnly "org.apache.axis2:axis2-jaxws:1.6.0"
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.javaagent-instrumentation"
|
plugins {
|
||||||
|
id("otel.javaagent-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
muzzle {
|
muzzle {
|
||||||
pass {
|
pass {
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,6 @@
|
||||||
apply plugin: "otel.library-instrumentation"
|
plugins {
|
||||||
|
id("otel.library-instrumentation")
|
||||||
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compileOnly "javax.servlet:javax.servlet-api:3.0.1"
|
compileOnly "javax.servlet:javax.servlet-api:3.0.1"
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue