Can I compile JSP using Gradle?


How do I compile my JSP? Is there a plugin that I can use?

Thanks, Kiran

JSP compilation isn’t something that Gradle provides out-of-the-box. You should be able to craft a solution based on Jasper’s jspC Ant task. Also have a look at the ‘tomcatJasper’ task of the Gradle Tomcat plugin.