Skip to content

Commit 44084fa

Browse files
runningcodeclaude
andcommitted
build(samples): Remove outputs.upToDateWhen { false } from systemTest tasks
The systemTest tasks in the sample modules forced Gradle to always treat their outputs as out of date, disabling up-to-date checks and build cache reuse. Removing this lets Gradle rely on its normal input/output tracking for the Test tasks. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent 0456f5c commit 44084fa

22 files changed

Lines changed: 0 additions & 44 deletions

File tree

sentry-samples/sentry-samples-console-opentelemetry-noagent/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,6 @@ tasks.register<Test>("systemTest").configure {
7171
testClassesDirs = test.output.classesDirs
7272
classpath = test.runtimeClasspath
7373

74-
outputs.upToDateWhen { false }
75-
7674
maxParallelForks = 1
7775

7876
// Cap JVM args per test

sentry-samples/sentry-samples-console-otlp/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,6 @@ tasks.register<Test>("systemTest").configure {
7474
testClassesDirs = test.output.classesDirs
7575
classpath = test.runtimeClasspath
7676

77-
outputs.upToDateWhen { false }
78-
7977
maxParallelForks = 1
8078

8179
// Cap JVM args per test

sentry-samples/sentry-samples-console/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,6 @@ tasks.register<Test>("systemTest").configure {
7575
testClassesDirs = test.output.classesDirs
7676
classpath = test.runtimeClasspath
7777

78-
outputs.upToDateWhen { false }
79-
8078
maxParallelForks = 1
8179

8280
// Cap JVM args per test

sentry-samples/sentry-samples-jul/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ tasks.register<Test>("systemTest").configure {
6666
testClassesDirs = test.output.classesDirs
6767
classpath = test.runtimeClasspath
6868

69-
outputs.upToDateWhen { false }
70-
7169
maxParallelForks = 1
7270

7371
// Cap JVM args per test

sentry-samples/sentry-samples-log4j2/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ tasks.register<Test>("systemTest").configure {
7272
testClassesDirs = test.output.classesDirs
7373
classpath = test.runtimeClasspath
7474

75-
outputs.upToDateWhen { false }
76-
7775
maxParallelForks = 1
7876

7977
// Cap JVM args per test

sentry-samples/sentry-samples-logback/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,6 @@ tasks.register<Test>("systemTest").configure {
6666
testClassesDirs = test.output.classesDirs
6767
classpath = test.runtimeClasspath
6868

69-
outputs.upToDateWhen { false }
70-
7169
maxParallelForks = 1
7270

7371
// Cap JVM args per test

sentry-samples/sentry-samples-spring-7/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,8 +77,6 @@ tasks.register<Test>("systemTest").configure {
7777
testClassesDirs = test.output.classesDirs
7878
classpath = test.runtimeClasspath
7979

80-
outputs.upToDateWhen { false }
81-
8280
maxParallelForks = 1
8381

8482
// Cap JVM args per test

sentry-samples/sentry-samples-spring-boot-4-opentelemetry-noagent/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,6 @@ tasks.register<Test>("systemTest").configure {
9090
testClassesDirs = test.output.classesDirs
9191
classpath = test.runtimeClasspath
9292

93-
outputs.upToDateWhen { false }
94-
9593
maxParallelForks = 1
9694

9795
// Cap JVM args per test

sentry-samples/sentry-samples-spring-boot-4-opentelemetry/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,6 @@ tasks.register<Test>("systemTest").configure {
118118
testClassesDirs = test.output.classesDirs
119119
classpath = test.runtimeClasspath
120120

121-
outputs.upToDateWhen { false }
122-
123121
maxParallelForks = 1
124122

125123
// Cap JVM args per test

sentry-samples/sentry-samples-spring-boot-4-otlp/build.gradle.kts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ tasks.register<Test>("systemTest").configure {
9191
testClassesDirs = test.output.classesDirs
9292
classpath = test.runtimeClasspath
9393

94-
outputs.upToDateWhen { false }
95-
9694
maxParallelForks = 1
9795

9896
// Cap JVM args per test

0 commit comments

Comments
 (0)