-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kotlin standard library errors with kte and Gradle continuous build #271
Comments
Hmm, the documentation says Maybe you could try to change this line, make a snapshot build and see if it is working afterwards? |
Hello @casid I tried to set the noStdLib to false and rebuild. It did not fix the issue. To give more information, I use gradle 8.5 with quarkus plugin. (So it may be a separe problem) |
Using
3.1.0
, we are having a great experience with:TemplateEngine.createPrecompiled
Precompiled runs great in prod, the DirectoryCodeResolver gives us great near-instant hotreload locally, with both
.jte
and.kte
.The only problem we have is with Gradle continuous build. We have a hotreload setup that uses continuous build to restart the server anytime our business logic changes. And for some reason, it is erroring out on
.kte
templates like so:It's strange because the same code works great when we run it without continuous build. Not necessarily a JTE issue, but I wonder if
setNoStdlib
here ought to befalse
instead oftrue
?jte/jte-kotlin/src/main/java/gg/jte/compiler/kotlin/KotlinClassCompiler.java
Lines 25 to 28 in f53fb95
The text was updated successfully, but these errors were encountered: