-
Notifications
You must be signed in to change notification settings - Fork 5
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
Attempting to convert from maven to gradle for a project that uses wro4j #2
Comments
Hello I went through your code, I am also trying to do the same, But I am also facing the issues , Can you please provide some reference document of demo sample from where you took the reference? I also did some research and came across https://mvnrepository.com/artifact/ro.isdc.wro4j/wro4j-maven-plugin/1.8.0 plugin which can be used with gradle. Can you also look into this if you find anything ? Help is much appreciated..! |
I don't really know if using the maven plugin from gradle is the right choice. The reference is directly from the spring boot sample project that I had forked, not much else. You can look at the pending PRs referenced in this issue if you want, it had snippets that were somewhat useful, but nothing fully worked. spring-projects/spring-petclinic#236 |
I faced same issue. I thinks gradle needs the plugin that passes the |
Unfortunately, I have no time to support wro4j-gradle-pluging project now. You are welcome to fork and publish you own version. |
I made it work here if anyone is interested: https://github.com/dsyer/spring-petclinic/tree/gradle. This plugin is not as flexible as it could be with source and target locations, but since the Petclinic only has one wro4j bundle we can make it work. |
Hi @Bwvolleyball, could you find a solution way? |
I am attempting to use this wro4j-gradle-plugin while trying to create a gradle build from the maven build in the spring-petclinic project.
I've attempted to follow the documentation in wro4j-gradle-plugin-sample without much success.
I cannot get the gradle build to successfully inherit compilation of
petclinic.less
frombootstrap.less
, and I don't know how to set a destination location for the final css file via this plugin.I'm hoping to get some pointers / feedback about what could be wrong with my plugin configuration here.
The stack trace doesn't say much, other than confirm it doesn't seem to know about bootstrap:
Any advice is appreciated!
The text was updated successfully, but these errors were encountered: