Maven Dependency for org.spockframework, spock-core version 0.6-groovy-1.7

In this section developers will find the maven dependency for org.spockframework, spock-core version 0.6-groovy-1.7.. Learn to use spock-core version 0.6-groovy-1.7 dependency with Maven, Gradle, SBT, Ivy, Grape, Leiningen and Buildr build tools

Ads

Ads

Maven Dependency for org.spockframework, spock-core version 0.6-groovy-1.7

In this section developers will find the maven dependency for org.spockframework, spock-core version 0.6-groovy-1.7.. Learn to use spock-core version 0.6-groovy-1.7 dependency with Maven, Gradle, SBT, Ivy, Grape, Leiningen and Buildr build tools.

In this section we will see the dependency code that can be added to Maven, Gradle, SBT, Ivy, Grape, Leiningen and Buildr  based project in order to get spock-core version 0.6-groovy-1.7 dependency in the project.

The spock-core version 0.6-groovy-1.7 is released on DATE and its available on the remote repositories such as maven central repositories, which can be used used by developer in their projects. They just have to add the dependency code of spock-core version 0.6-groovy-1.7 given here.

How to use spock-core version 0.6-groovy-1.7 in Java Maven project?

Java project using maven can easily download spock-core version 0.6-groovy-1.7 dependency in your project once you add this dependency in your project.  You can add following code in your pom.xml file to get spock-core version 0.6-groovy-1.7 version maven dependency in your project.

<dependency>
	<groupId>spock-core</groupId>
	<artifactId>spock-core</artifactId>
	<version>0.6-groovy-1.7</version>
</dependency>

Above dependency code will download the necessary jar files along with all the dependent packages if any from the remote repositions in your project and you will be able to use the  spock-core version 0.6-groovy-1.7 in your project. Maven makes it very easy to quickly download  spock-core dependency packages of specified version e.g. version 0.6-groovy-1.7 in this case.

How to check spock-core version 0.6-groovy-1.7 library dependencies?

Maven comes with the handy command for finding the dependent libraries in maven based Java projects and this will help us in getting the dependencies tree of spock-core version 0.6-groovy-1.7. To check the dependency of spock-core version 0.6-groovy-1.7 you can run following maven command into your project:

mvn dependency:tree

Above command gives the list of all the dependent libraries. In case of spock-core version 0.6-groovy-1.7 following is the dependency tree:

DEPENDENCY TREE

Here is the screen shot of the command:

IMAGE_DEPENDENCY TREE

How to use spock-core version 0.6-groovy-1.7 with Gradle, SBT, Ivy, Grape, Leiningen and Buildr?

The spock-core  can also be used with the other build tools such as Gradle, SBT, Ivy, Grape, Leiningen and Buildr. Let's see the dependency code to be added in the project using these build tools.

Gradle

Here is the Gradle dependency for spock-core version 0.6-groovy-1.7:

implementation group: 'spock-core', name: 'spock-core', version: '0.6-groovy-1.7'

SBT

Here is the SBT dependency for spock-core version 0.6-groovy-1.7:

libraryDependencies += "spock-core" % "spock-core" % "0.6-groovy-1.7"

Ivy

Here is the Ivy dependency for spock-core version 0.6-groovy-1.7:

<dependency org="spock-core" name="spock-core" rev="0.6-groovy-1.7"/>  

Grape

Here is the Gradle dependency for spock-core version 0.6-groovy-1.7:

 @Grapes(
	@Grab(group='spock-core', module='spock-core', version='0.6-groovy-1.7')
)

Leiningen

Here is the Leiningen dependency for spock-core version 0.6-groovy-1.7:

[spock-core/spock-core "0.6-groovy-1.7"]

Buildr

Here is the Buildr dependency for spock-core version 0.6-groovy-1.7:

'spock-core:spock-core:jar:0.6-groovy-1.7'

In this section we have explored spock-core version 0.6-groovy-1.7 dependency and learned how to use this dependency in Java projects.