Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
9 changes: 8 additions & 1 deletion sentry-samples/sentry-samples-console/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

Comment thread
cursor[bot] marked this conversation as resolved.
maxParallelForks = 1

Expand Down
9 changes: 8 additions & 1 deletion sentry-samples/sentry-samples-jul/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
9 changes: 8 additions & 1 deletion sentry-samples/sentry-samples-log4j2/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
9 changes: 8 additions & 1 deletion sentry-samples/sentry-samples-logback/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
9 changes: 8 additions & 1 deletion sentry-samples/sentry-samples-spring-7/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("war")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("bootJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("shadowJar")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("war")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
9 changes: 8 additions & 1 deletion sentry-samples/sentry-samples-spring/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,14 @@ tasks.register<Test>("systemTest").configure {
testClassesDirs = test.output.classesDirs
classpath = test.runtimeClasspath

outputs.upToDateWhen { false }
// System tests launch the packaged sample app from build/libs as a separate
// process, so the archive is a real input even though it is not on the test classpath.
val appArchive = tasks.named("war")
dependsOn(appArchive)
inputs
.files(appArchive)
.withPropertyName("appArchive")
.withNormalizer(ClasspathNormalizer::class.java)

maxParallelForks = 1

Expand Down
Loading