Skip to content
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 #83

Closed
schmitch opened this issue Jun 24, 2015 · 10 comments · Fixed by #678
Closed

Gradle Support #83

schmitch opened this issue Jun 24, 2015 · 10 comments · Fixed by #678
Assignees

Comments

@schmitch
Copy link
Contributor

Currently Twirl only works on sbt, is there any work to also have a working gradle/maven plugin?

@JakeWharton
Copy link

I wrote a Maven one recently for a thing I needed:
https://github.com/JakeWharton/twirl-maven-plugin

On Wed, Jun 24, 2015, 4:30 PM Schmitt Christian notifications@github.com
wrote:

Currently Twirl only works on sbt, is there any work to also have a
working gradle/maven plugin?


Reply to this email directly or view it on GitHub
#83.

@jroper
Copy link
Member

jroper commented Jun 25, 2015

There's no reason why a gradle plugin couldn't be written for it, the compiler itself is a separate artifact from the sbt plugin. But as I, and as far as I'm aware everyone else that maintains Twirl has no gradle experience, it's not something that we're going to provide.

@JakeWharton
Copy link

A Gradle plugin would be especially nice given the forthcoming continuous build mode in v2.5 (ala sbt).

@schmitch
Copy link
Contributor Author

@jroper it would be nice, since Gradle will provide Playframework support, however it already provides template compilation of Twirl, however it would be great if there is a play-twirl plugin and not just a big monolithic play plugin. And I thought that maybe twirl itself could provide that as an alternative to sbt.

@jroper
Copy link
Member

jroper commented Jun 29, 2015

If someone submits a PR adding a gradle module, I'd be willing to consider it. The most important thing though is that it has adequate test coverage - given my complete lack of gradle knowledge, in order to maintain quality, we're going to have to have comprehensive tests of the gradle support so that I can be confident that changes to break it.

@raderio
Copy link

raderio commented Aug 1, 2016

@benmccann
Copy link
Contributor

Gradle now has built-in support for Play and thus Twirl. Though I'm not sure you can use the Twirl compiler independently of Play when using Gradle

@benmccann
Copy link
Contributor

If anyone would like to help improve Maven/Gradle support I filed a related issue: #177

@ihostage ihostage self-assigned this Nov 16, 2022
@ihostage ihostage mentioned this issue Dec 26, 2022
@ihostage ihostage changed the title Gradle/Maven Support Gradle Support Dec 26, 2022
@ihostage
Copy link
Member

ihostage commented Dec 26, 2022

Maven part is moved to separate issue #581. It's a part of playframework/play-meta#8

@ihostage
Copy link
Member

8 years waiting and we've done it 🕺
Congratulations, folks! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

7 participants