You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Exception at second execution when configuration cache is enabled.
Configuration cache is an incubating feature.
Reusing configuration cache.
FAILURE: Build failed with an exception.
* What went wrong:
Could not load the value of field `transformer` of `org.gradle.api.internal.file.copy.RenamingCopyAction` bean found in field `mainSpec` of task `:copyAndRename` of type `org.gradle.api.tasks.Copy`.
> org.gradle.api.internal.file.copy.CopySpecWrapper$$Lambda$1762/650180744
Context
Custom task which copies a single file and rename it.
Steps to Reproduce (for bugs)
build.gradle:
task copyAndRename(type: Copy) {
from("foo.txt") {
into "dest"
rename { filename -> 'bar.txt' }
}
into "$buildDir"
}
Current Behavior
Exception at second execution when configuration cache is enabled.
Context
Custom task which copies a single file and rename it.
Steps to Reproduce (for bugs)
build.gradle:
User
gradle.properties
:execute
gradlew copyAndRename
twice.Your Environment
Gradle 7.4.2, JDK 8, Windows 10.
The text was updated successfully, but these errors were encountered: