opentelemetry-java-instrume.../smoke-tests/cli/cli.gradle

26 lines
506 B
Groovy

plugins {
id "com.github.johnrengelman.shadow"
}
apply from: "$rootDir/gradle/java.gradle"
description = 'Command Line Application Smoke Tests.'
jar {
manifest {
attributes(
'Main-Class': 'io.opentelemetry.smoketest.cli.CliApplication'
)
}
}
dependencies {
compile deps.opentelemetryApi
testCompile project(':smoke-tests')
}
tasks.withType(Test).configureEach {
dependsOn shadowJar
jvmArgs "-Dio.opentelemetry.smoketest.cli.shadowJar.path=${tasks.shadowJar.archivePath}"
}