plugins { id 'com.gradle.enterprise' version '3.0' } def isCI = System.getenv("CI") != null def skipBuildscan = Boolean.valueOf(System.getenv("SKIP_BUILDSCAN")) gradleEnterprise { buildScan { termsOfServiceUrl = 'https://gradle.com/terms-of-service' termsOfServiceAgree = 'yes' if (isCI && !skipBuildscan) { publishAlways() tag 'CI' } } } rootProject.name = 'opentelemetry-java-instrumentation' // agent projects include ':java-agent' include ':opentelemetry-sdk-shaded-for-testing' include ':opentelemetry-api-shaded-for-instrumenting' include ':logback-shaded-for-instrumenting' include ':agent-bootstrap' include ':agent-tooling' include ':load-generator' // misc include ':testing' include ':utils:test-utils' include ':utils:thread-utils' // smoke tests include ':smoke-tests:cli' include ':smoke-tests:java9-modules' include ':smoke-tests:play' include ':smoke-tests:springboot' include ':smoke-tests:wildfly' include ':smoke-tests:springboot' // instrumentation: include ':instrumentation:akka-http-10.0' include ':instrumentation:apache-httpasyncclient-4.0' include ':instrumentation:apache-httpclient:apache-httpclient-2.0' include ':instrumentation:apache-httpclient:apache-httpclient-4.0' include ':instrumentation:aws-sdk:aws-sdk-1.11' include ':instrumentation:aws-sdk:aws-sdk-2.2' include ':instrumentation:cassandra:cassandra-3.0' include ':instrumentation:cassandra:cassandra-4.0' include ':instrumentation:cdi-testing' include ':instrumentation:couchbase:couchbase-2.0' include ':instrumentation:couchbase:couchbase-2.6' include ':instrumentation:dropwizard-views-0.7' include ':instrumentation:dropwizard-testing' include ':instrumentation:elasticsearch:elasticsearch-common' include ':instrumentation:elasticsearch:elasticsearch-rest-5.0' include ':instrumentation:elasticsearch:elasticsearch-rest-6.4' include ':instrumentation:elasticsearch:elasticsearch-transport-2.0' include ':instrumentation:elasticsearch:elasticsearch-transport-5.0' include ':instrumentation:elasticsearch:elasticsearch-transport-5.3' include ':instrumentation:elasticsearch:elasticsearch-transport-6.0' include ':instrumentation:finatra-2.9' include ':instrumentation:geode-1.4' include ':instrumentation:google-http-client-1.19' include ':instrumentation:grizzly-2.0' include ':instrumentation:grizzly-client-1.9' include ':instrumentation:grizzly-http-2.3' include ':instrumentation:grpc-1.5' include ':instrumentation:hibernate:hibernate-3.3' include ':instrumentation:hibernate:hibernate-4.0' include ':instrumentation:hibernate:hibernate-4.3' include ':instrumentation:hibernate:hibernate-common' include ':instrumentation:http-url-connection' include ':instrumentation:hystrix-1.4' include ':instrumentation:java-class-loader' include ':instrumentation:java-class-loader:jboss-testing' include ':instrumentation:java-class-loader:osgi-testing' include ':instrumentation:java-class-loader:tomcat-testing' include ':instrumentation:java-concurrent' include ':instrumentation:java-concurrent:kotlin-testing' include ':instrumentation:java-concurrent:scala-testing' include ':instrumentation:java-concurrent:akka-testing' include ':instrumentation:java-concurrent:akka-2.5-testing' include ':instrumentation:java-util-logging' include ':instrumentation:jaxrs:jaxrs-1.0' include ':instrumentation:jaxrs:jaxrs-2.0' include ':instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-jersey-2.0' include ':instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-resteasy-3.0' include ':instrumentation:jaxrs:jaxrs-2.0:jaxrs-2.0-resteasy-3.1' include ':instrumentation:jaxrs-client:jaxrs-client-1.1' include ':instrumentation:jaxrs-client:jaxrs-client-2.0' include ':instrumentation:jaxrs-client:jaxrs-client-2.0:jaxrs-client-2.0-jersey-2.0' include ':instrumentation:jaxrs-client:jaxrs-client-2.0:jaxrs-client-2.0-resteasy-2.0' include ':instrumentation:jdbc' include ':instrumentation:jedis:jedis-1.4' include ':instrumentation:jedis:jedis-3.0' include ':instrumentation:jetty-8.0' include ':instrumentation:jms-1.1' include ':instrumentation:jsp-2.3' include ':instrumentation:kafka-clients-0.11' include ':instrumentation:kafka-streams-0.11' include ':instrumentation:khttp-0.1' include ':instrumentation:lettuce:lettuce-4.0' include ':instrumentation:lettuce:lettuce-5.0' include ':instrumentation:lettuce:lettuce-5.1' include ':instrumentation:log4j:log4j-1.1' include ':instrumentation:log4j:log4j-2.0' include ':instrumentation:logback-1.0' include ':instrumentation:mongo:mongo-3.1' include ':instrumentation:mongo:mongo-3.7' include ':instrumentation:mongo:mongo-async-3.3' include ':instrumentation:mongo:mongo-common' include ':instrumentation:netty:netty-3.8' include ':instrumentation:netty:netty-4.0' include ':instrumentation:netty:netty-4.1' include ':instrumentation:okhttp:okhttp-2.2' include ':instrumentation:okhttp:okhttp-3.0' include ':instrumentation:opentelemetry-api-0.4' include ':instrumentation:play:play-2.3' include ':instrumentation:play:play-2.4' include ':instrumentation:play:play-2.6' include ':instrumentation:play-ws:play-ws-1.0' include ':instrumentation:play-ws:play-ws-2.0' include ':instrumentation:play-ws:play-ws-2.1' include ':instrumentation:play-ws:play-ws-common' include ':instrumentation:rabbitmq-amqp-2.7' include ':instrumentation:ratpack-1.5' include ':instrumentation:reactor-3.1' include ':instrumentation:rediscala-1.8' include ':instrumentation:rmi' include ':instrumentation:rxjava-1.0' include ':instrumentation:servlet' include ':instrumentation:servlet:glassfish-testing' include ':instrumentation:servlet:servlet-common' include ':instrumentation:servlet:request-2.3' include ':instrumentation:servlet:request-3.0' // FIXME this instrumentation relied on scope listener // include ':instrumentation:slf4j-mdc' include ':instrumentation:sparkjava-2.3' include ':instrumentation:spring-data-1.8' include ':instrumentation:spring-scheduling-3.1' include ':instrumentation:spring-webmvc-3.1' include ':instrumentation:spring-webflux-5.0' include ':instrumentation:spymemcached-2.12' include ':instrumentation:trace-annotation' include ':instrumentation:twilio-6.6' include ':instrumentation:vertx' include ':instrumentation:vertx-reactive' include ':instrumentation-core:aws-sdk:aws-sdk-2.2-core' include ':instrumentation-core:spring' // exporter adapters include ":auto-exporters" include ":auto-exporters:jaeger" include ":auto-exporters:logging" include ":auto-exporters:otlp" include ":auto-exporters:zipkin" // benchmark include ':benchmark' include ':benchmark-integration' include ':benchmark-integration:jetty-perftest' include ':benchmark-integration:play-perftest' def setBuildFile(project) { project.buildFileName = "${project.name}.gradle" project.children.each { setBuildFile(it) } } rootProject.children.each { setBuildFile(it) } project(':agent-bootstrap').name = 'auto-bootstrap' project(':agent-tooling').name = 'auto-tooling' project(':java-agent').name = 'opentelemetry-auto' project(':auto-exporters:jaeger').name = 'opentelemetry-auto-exporter-jaeger' project(':auto-exporters:logging').name = 'opentelemetry-auto-exporter-logging' project(':auto-exporters:otlp').name = 'opentelemetry-auto-exporter-otlp' project(':auto-exporters:zipkin').name = 'opentelemetry-auto-exporter-zipkin'