Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

Demonstrates a Gradle bug

Notifications You must be signed in to change notification settings

pkubowicz/gradle-tests-uptodate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demonstrates a failure of Gradle up-to-date checks, where renaming a non-related task can trigger tests re-execution:

  1. Run ./gradlew barJar --console=verbose - tests are run
  2. Repeat ./gradlew barJar --console=verbose - everything up-to-date
  3. Edit build.gradle, changing baz123 task name to baz1234
    • note that barJar is not related to this task in any way
  4. Run ./gradlew barJar --console=verbose - tests are re-run, although nothing related to barJar has changed

--info logs show only

Task ':test' is not up-to-date because:
  Task ':test' has additional actions that have changed

About

Demonstrates a Gradle bug

Topics

Resources

Stars

Watchers

Forks

Languages