tailwind-kt
tailwind-kt copied to clipboard
Invocation of Task.project at execution time is unsupported
trafficstars
🐛 Describe the bug
When importing the plugin, the build fails with
FAILURE: Build failed with an exception.
* What went wrong:
Configuration cache problems found in this build.
3 problems were found storing the configuration cache, 2 of which seem unique.
- Task `:demo:copyConfigFiles` of type `kizzy.tailwind.task.CopyConfigsTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.3/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
- Task `:demo:generateDefaultFiles` of type `kizzy.tailwind.task.GenerateDefaultConfigTask`: invocation of 'Task.project' at execution time is unsupported.
See https://docs.gradle.org/8.3/userguide/configuration_cache.html#config_cache:requirements:use_project_during_execution
See the complete report at file:///home/ivan/Projects/opensavvy/ui/compose-material3-tailwind/build/reports/configuration-cache/rkwvvje27jtjdffvymr46l1n/3yy8fnxckvmcx3xjnxq9vpfm6/configuration-cache-report.html
> Invocation of 'Task.project' by task ':demo:generateDefaultFiles' at execution time is unsupported.
> Invocation of 'Task.project' by task ':demo:copyConfigFiles' at execution time is unsupported.
⚠️ Current behavior
The build crashes.
✅ Expected behavior
The build works.
💣 Steps to reproduce
I'm not sure what the exact cause is. Here are a few candidates:
- I have the configuration cache enabled
- I'm using the
kotlin("multiplatform")plugin
📱 Tech info
- Device: Desktop
- Library/App version: 0.0.3
Sorry for late reply, Can I know the kotlin version of this project
Sorry for the late reply too :sweat: It's 1.9.10
Can you try version 0.0.4 ?