Saikat...
Saikat...

Reputation: 767

Creating Serenity BDD skeleton project with Gradle commands

We can generate serenity skeleton project using Maven as below:

mvn archetype:generate -Dfilter=serenity

However, i need to know what is the command for creating similar skeleton serenity project using Gradle. Or it might not be possible? Or i need to create project using maven then i can start using gradle for that. I am using Serenity>cucumber>junit>java. I am currently learning Serenity and i will appreciate your help.

Upvotes: 1

Views: 853

Answers (2)

Saikat...
Saikat...

Reputation: 767

David, If you run maven archetype, it will generate Build.gradle which you can modify it to use different jars.

mvn archetype:generate -Dfilter=serenity

As well you can look into this below: https://plugins.gradle.org/plugin/com.orctom.archetype

Upvotes: 0

John Smart
John Smart

Reputation: 942

Gradle doesn't have an "archetype" command, but the Maven archetype should generate gradle build scripts.

Upvotes: 1

Related Questions