How to use Gradle to build camunda external task?

Hey guys,

I want to use gradle to build the external task, but I only see the method for setting Maven Project.
The Maven Project’s setting :frowning:Executing automated steps (2/6) | docs.camunda.org)

		<dependency>
			<groupId>org.camunda.bpm</groupId>
			<artifactId>camunda-external-task-client</artifactId>
			<version>1.3.0</version>
		</dependency>
		<dependency>
			<groupId>org.slf4j</groupId>
			<artifactId>slf4j-simple</artifactId>
			<version>1.6.1</version>
		</dependency>
		<dependency>
			<groupId>javax.xml.bind</groupId>
			<artifactId>jaxb-api</artifactId>
			<version>2.3.1</version>
		</dependency>

How do I set these in gradle project?

Thanks

C-Y,Wu

Hi,

You can simply convert your pom.xml to gradle

also refer the below example from forum

hope this will help.

Thanks

Hey, @Radhika

Thanks a lot.

I use following statement in build.gradle to solve my problem.

dependencies {
    compile("org.camunda.bpm:camunda-external-task-client:1.3.0")
    compile ("org.slf4j:slf4j-simple:1.6.1")
    testCompile("junit:junit:4.12")
    compile ("org.json:json:20090211")
}

C-Y,Wu