Comments (5)
I pulled in 3.1.4 and confirmed it fixes the jte issue, thanks.
from jte.
@wyaeld I've created a PR to set the JVM target version for Kotlin templates through Gradle/Maven.
I could reproduce your error. Calling an inline method without setting the JVM target version, I got the same error as you did test.TemplateEngineTest#helloInlineMethod$kte_runtime_test_gradle_kotlin_convention_test
. After setting the JVM target version the test passes.
It would be nice to adopt this setting from Gradle automatically. I left a note on the PR, if you have an idea how to accomplish this, let me know :-)
from jte.
Fix looks nice and easy to use, I'm afraid I'm as lost as you are trying to understand how to interact with Gradle on something like this.
from jte.
Sorry, merging the PR automatically closed this issue.
I'll release a new jte version this evening after work.
from jte.
@wyaeld I just released jte 3.1.4 containing a fix for this issue.
from jte.
Related Issues (20)
- HTML Comments Inside Content Blocks Cause Compilation Failure in gg.jte.gradle v3.1.7+ HOT 2
- Allow expressions in HTML attribute names for certain types HOT 9
- Spring Boot integration and binary rendering HOT 6
- ${"\\"} Causes "Unexpected end of template expression" HOT 1
- Pass dynamic HTML Content to template HOT 2
- Support JTE project HOT 2
- Failed to compile with module-info.java HOT 2
- Support for read-only filesystem HOT 1
- template define with generic type HOT 1
- Generic template HOT 3
- Html Template Output HOT 2
- Add kotlin and kte documentation HOT 1
- String input instead of file input HOT 6
- Provide jte-jsp-converter for Jakarta HOT 1
- Comments break JTE HOT 5
- intellij "Cannot resolve MVC view" HOT 4
- Unable to handle model properties that contain dots (`.`) HOT 3
- KTE runtime dependencies HOT 8
- Suppress warnings in generated java source files HOT 1
- PluginException: ActionUpdateThread.OLD_EDT is deprecated and going to be removed soon.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jte.