-
Notifications
You must be signed in to change notification settings - Fork 103
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
A clear and concise description of what the bug is.
- When using the
scaffold
task, the subtaskspotlessJson
will fail.
To Reproduce
Steps to reproduce the behavior:
- Execute the following PowerShell 7 command on the
Windows 11 Home 24H2
instance withPowerShell/PowerShell
,version-fox/vfox
,git-for-windows/git
andMicrosoft.VisualStudio.2022.Community
installed.
vfox add java
vfox install [email protected]
vfox use --global [email protected]
git clone [email protected]:oracle/graalvm-reachability-metadata.git
cd ./graalvm-reachability-metadata/
git reset --hard af522f7517534f3c0df9e7169f50bee419f8c3f5
./gradlew scaffold --update --coordinates com.mysql:mysql-connector-j:9.3.0
If possible please attach a complete reproducer here (either as a zip file or as a link to public repository/branch).
Expected behavior
A clear and concise description of what you expected to happen.
- When using the
scaffold
task, the subtaskspotlessJson
will not fail.
Logs
Add logs to help explain your problem.
PS D:\TwinklingLiftWorks\git\public\graalvm-reachability-metadata> ./gradlew scaffold --update --coordinates com.mysql:mysql-connector-j:9.3.0
> Configure project :
GraalVM Reachability Metadata TCK
---------------------------------
> Task :scaffold
Generated metadata and test for com.mysql:mysql-connector-j:9.3.0
You can now use 'gradle test -Pcoordinates=com.mysql:mysql-connector-j:9.3.0' to run the tests
> Task :spotlessJson FAILED
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':spotlessJson'.
> Cannot access input property 'target' of task ':spotlessJson'. Accessing unreadable inputs or outputs is not supported. Declare the task as untracked by using Task.do
NotTrackState(). For more information, please refer to https://docs.gradle.org/8.10/userguide/incremental_build.html#sec:disable-state-tracking in the Gradle documentation.
> Could not stat file D:\TwinklingLiftWorks\git\public\graalvm-reachability-metadata\tests\src\**\*.json
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s
11 actionable tasks: 3 executed, 8 up-to-date
System Info (please complete the following information):
- OS: [e.g.
Windows
]Windows
- GraalVM Version [e.g.
22.0 CE
]GraalVM CE For JDK 22.0.2
- Java Version [e.g.
17
]22.0.2
- Plugin version [e.g.
native-gradle-plugin:0.9.10
]native-gradle-plugin:0.10.6
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working