Skip to content

Commit

Permalink
[Gradle] Run UP-TO-DATE tests
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonMarquis committed Oct 13, 2023
1 parent 22ad970 commit fd81cda
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/gradle.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,21 @@ tasks.withType<AbstractArchiveTask>().configureEach {

[🔗](https://docs.gradle.org/current/userguide/working_with_files.html#sec:reproducible_archives)

### Run `UP-TO-DATE` tests

!!! warning "`--rerun-tasks` will not work!"

-
```
./gradlew cleanTest test
```
-
```kotlin
tasks.withType<Test>().configureEach {
outputs.upToDateWhen { false }
}
```

### System properties

Using the `-D` command-line option, you can pass a system property to the JVM which runs Gradle.
Expand Down

0 comments on commit fd81cda

Please sign in to comment.