Smoke tests declare shadowJar as an input to be rebuilt (#2085)
* Smoke tests declare shadowJar as an input to be rebuilt. Fix some gradle deprecation warnings. * Try files as inputs.
This commit is contained in:
parent
d609aa0647
commit
a2cde4132d
|
@ -34,7 +34,7 @@ dependencies {
|
|||
testImplementation 'javax.xml.bind:jaxb-api:2.3.1'
|
||||
|
||||
testImplementation deps.testcontainers
|
||||
testCompile "org.testcontainers:localstack:1.15.0-rc2"
|
||||
testImplementation "org.testcontainers:localstack:1.15.0-rc2"
|
||||
|
||||
latestDepTestLibrary group: 'org.apache.camel', name: 'camel-core', version: '2.+'
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@ dependencies {
|
|||
// in public API.
|
||||
library group: 'com.amazonaws', name: 'aws-lambda-java-events', version: '2.2.1'
|
||||
|
||||
compile(
|
||||
implementation(
|
||||
'com.fasterxml.jackson.core:jackson-databind:2.10.5.1',
|
||||
'com.fasterxml.jackson.module:jackson-module-afterburner:2.9.10',
|
||||
'commons-io:commons-io:2.2')
|
||||
|
|
|
@ -20,8 +20,8 @@ dependencies {
|
|||
testImplementation(project(':testing-common'))
|
||||
testImplementation group: 'org.eclipse.jetty', name: 'jetty-server', version: '8.0.0.v20110901'
|
||||
testImplementation group: 'org.eclipse.jetty', name: 'jetty-servlet', version: '8.0.0.v20110901'
|
||||
testRuntime group: 'javax.servlet', name: 'javax.servlet-api', version: '3.0.1'
|
||||
testRuntime group: 'javax.servlet', name: 'jsp-api', version: '2.0'
|
||||
testRuntimeOnly group: 'javax.servlet', name: 'javax.servlet-api', version: '3.0.1'
|
||||
testRuntimeOnly group: 'javax.servlet', name: 'jsp-api', version: '2.0'
|
||||
|
||||
testInstrumentation project(":instrumentation:servlet:servlet-3.0:javaagent")
|
||||
testInstrumentation project(':instrumentation:jetty-8.0:javaagent')
|
||||
|
|
|
@ -9,7 +9,9 @@ minimumInstructionCoverage = 0
|
|||
|
||||
configurations {
|
||||
// classpath used by the instrumentation muzzle plugin
|
||||
instrumentationMuzzle
|
||||
instrumentationMuzzle {
|
||||
extendsFrom implementation
|
||||
}
|
||||
}
|
||||
|
||||
dependencies {
|
||||
|
@ -52,7 +54,6 @@ dependencies {
|
|||
testImplementation group: 'org.mockito', name: 'mockito-core', version: '3.6.0'
|
||||
|
||||
instrumentationMuzzle sourceSets.main.output
|
||||
instrumentationMuzzle configurations.implementation
|
||||
}
|
||||
|
||||
test {
|
||||
|
|
|
@ -27,7 +27,7 @@ dependencies {
|
|||
}
|
||||
|
||||
test {
|
||||
dependsOn ':javaagent:shadowJar'
|
||||
inputs.files(tasks.findByPath(':javaagent:shadowJar').outputs.files)
|
||||
maxParallelForks = 2
|
||||
|
||||
doFirst {
|
||||
|
|
Loading…
Reference in New Issue