Circular dependency between tasks caused by Spring Boot native build
Closed this issue ยท 1 comments
lukas-krecan commented
๐ Describe the bug
When Spring Native build is used ("org.graalvm.buildtools.native") Gradle complains about circular dependency.
โ ๏ธ Current behavior
Circular dependency between the following tasks:
:classes
\--- :compileJava
\--- :compileKotlin
+--- :ktfmtCheckAot
| \--- :processAot
| +--- :classes (*)
| +--- :compileJava (*)
| +--- :compileKotlin (*)
| \--- :resolveMainClassName
| +--- :classes (*)
| +--- :compileJava (*)
| \--- :compileKotlin (*)
...
โ Expected behavior
I expect it to pass
๐ฃ Steps to reproduce
Clone https://github.com/lukas-krecan/ktfmt-native and run ./gradlew check
The project was genberated by https://start.spring.io/ and ktfmt plugin added, nothing special.
cortinico commented
Thansk for the repro @lukas-krecan, this was really valuable in helping me fix this.