I have application(Spring boot, Gradle). Now I need to find a possible and easier way to convert HTML scenario (created with Selenium IDE) to JUnit tests automatically (maybe run some Gradle task). I found some plugins like - https://github.com/willwarren/selenium-maven-plugin (based on Maven) and https://github.com/nextinterfaces/selenium4j (based on Ant).
How can I add this plugin to my application? Is it posible to add maven or ant based plugin to gradle based application? Maybe some plugins for gradle also exist? Any help will be highly appreciated.