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 ':opentelemetry-javaagent' include ':opentelemetry-sdk-shaded-for-testing' include ':opentelemetry-api-beta-shaded-for-instrumenting' include ':logback-shaded-for-instrumenting' include ':agent-bootstrap' include ':agent-tooling' include ':load-generator' // misc include ':testing-common' 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:annotations' 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:auto' include ':instrumentation:aws-sdk:aws-sdk-2.2:library' include ':instrumentation:aws-sdk:aws-sdk-2.2:testing' 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-rest-common' include ':instrumentation:elasticsearch:elasticsearch-rest-5.0' include ':instrumentation:elasticsearch:elasticsearch-rest-6.4' include ':instrumentation:elasticsearch:elasticsearch-transport-common' 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: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-classloader' include ':instrumentation:java-classloader:jboss-testing' include ':instrumentation:java-classloader:osgi-testing' include ':instrumentation:java-classloader:tomcat-testing' include ':instrumentation:java-concurrent' include ':instrumentation:java-concurrent:java-completablefuture' 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:kubernetes' 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-beta' 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-2.7' include ':instrumentation:ratpack-1.4' include ':instrumentation:reactor-3.1' include ':instrumentation:rediscala-1.8' include ':instrumentation:rmi' include ':instrumentation:rxjava-1.0' include ':instrumentation:servlet:glassfish-testing' include ':instrumentation:servlet:servlet-common' include ':instrumentation:servlet:servlet-2.2' include ':instrumentation:servlet:servlet-3.0' // FIXME this instrumentation relied on scope listener // include ':instrumentation:slf4j-mdc' include ':instrumentation:spark-web-framework-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:twilio-6.6' include ':instrumentation:vertx-3.0' include ':instrumentation:vertx-reactive-3.5' include ':instrumentation-core:apache-httpclient-4.0' include ':instrumentation-core:reactor-3.1' include ':instrumentation-core:servlet' include ':instrumentation-core:spring:spring-boot-autoconfigure' include ':instrumentation-core:spring:spring-web-3.1' include ':instrumentation-core:spring:spring-webflux-5.0' include ':instrumentation-core:spring:spring-webmvc-3.1' // 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) { if (['auto', 'library', 'testing'].contains(project.projectDir.name)) { project.buildFileName = "${project.projectDir.parentFile.name}-${project.projectDir.name}.gradle" } else { 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(':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'