-
-
Notifications
You must be signed in to change notification settings - Fork 9
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 Templates #4
Comments
Kotlin templates as in templates using Kotlin or templates in Kotlin? (as gradle.kts) |
Maybe both? For me, it's a little weird that source code uses kotlin, but gradle files use groovy. |
kts doesn't support |
kts does support them just fine, it's just that the type-safe accessors for configurations, extensions and tasks aren't generated so you have to use strings and |
@CubeSugarCheese As @Juuxel said, it should support now. This post is outdated. |
Also the post is correct and up-to-date afaik, it just says you can't use type-safe accessors but the answer itself is using (However, it's not exactly correct about the "import statements" etc since plugins and buildscript don't generate imports. |
well,I tried to convert groovy to kts but failed. Seeing your build.gradle.kts, I find the different is not a little which in groovy and kts. If it's possible,I want to get official kts support in next template release. |
Now, I transform groovy to kts successfully. But it still have some problems. |
It would be wonderful if there are templates using Kotlin, just like Adorn
The text was updated successfully, but these errors were encountered: