Gradle jakarta ee 9 web project in netbeans 12.4 with Tomcat 10

In the latest Netbeans 12.4 I am now able to do a Maven jakarta ee9 web project using Tomcat 10. However for Gradle, it is only allowing up to a java ee 7 web app. How can I use Gradle with tomcat 10 in Netbeans for a jakarta ee 9 web app? Thanks.