-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Gradle Support #678
Gradle Support #678
Conversation
Depends on #676 |
87133e9
to
9eeb3bc
Compare
cbf9883
to
ea16ac0
Compare
@mkurz Gradle Plugin can also be a part of final 2.0.0 😉 |
I did not review yet, but why is that needed? What about https://gradle.github.io/playframework (https://github.com/gradle/playframework)? Can this not be used? |
Unfortunately this plugin more dead than alive 😞 Of course, I inspired them while develop, but I want that Play have a first-class support not only Sbt but also Gradle and Maven. And support for Twirl is a first step in this way. |
Hm.. I know it took a while until they supported Play 2.8 (I was following the repo a bit, see gradle/playframework#163)
So for me it seems they did some work. But anyway, I don't know in which state the project is in general, if something is missing. Just one more question: If we merge this PR, does the current Play Gradle plugin (https://gradle.github.io/playframework/) still work? Like, what I mean, are the compatible, like can they live in parallel? Or will your code here make the "Gradle Play Plugin" unusable? |
Yes, I also watch this repo and I'm upset a current status 😞 I don't believe that something will change in Gradle team strategy related with this plugin. For example Gradle Play plugin is very unfriendly for Gradle Kotlin DSL.
I didn't test a both plugin in one project 🤷♂️ I don't think that someone want to use it both in one project right now. I think when I'll finish a work on "official" Play Gradle Plugin users can migrate from Gradle Play plugin => Play Gradle Plugin + Twirl Gradle plugin. 🤞 |
OK, I will take a look at this on the weekend and promise if it's ok to merge before 2.0.0 final. |
Thanks, Matthias! |
Rename implementation class to `TwirlPlugin`
…e Gradle API navigate
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
I added GRADLE_PUBLISH_KEY
and GRADLE_PUBLISH_SECRET
as organization secrets, let's see if it works.
@ihostage I published 2.0.0-M3, looks good so far, but we have to wait for approval:
|
Awesome 🥳 |
Fixes #83