Skip to content

configuration caching causing shadowJar to be out-of-date #707

@mathjeff

Description

@mathjeff

Shadow Version

6.1.0, 7.1.0-SNAPSHOT

Gradle Version

7.2

Expected Behavior

If I run ./gradlew --configuration-cache shadowJar twice in a row, in the second run the task should be UP-TO-DATE

Actual Behavior

I'm running ./gradlew --configuration-cache shadowJar twice in a row and finding that the second run isn't UP-TO-DATE

Gradle Build Script(s)

            apply plugin: 'java'
            apply plugin: 'com.github.johnrengelman.shadow'

            repositories { maven { url "${repo.uri}" } }
            dependencies {
                implementation "junit:junit:3.8.2"
            }

            shadowJar {
                configurations = [project.configurations.compileClasspath]
            }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions