How To Install Java Artifact com.nhaarman.mockitokotlin2.mockito-kotlin v2.0.0

com.nhaarman.mockitokotlin2 mockito-kotlin 2.0.0

Introduction

In this article, we'll learn how to install Java artifact mockito-kotlin from com.nhaarman.mockitokotlin2 group in version 2.0.0. The artifact is available in 10 versions: 2.2.0 2.1.0 2.0.0-alpha04 2.0.0-alpha03 2.0.0-alpha02 2.0.0-alpha01 2.0.0-RC3 2.0.0-RC2 2.0.0-RC1 2.0.0 . The Mockito-Kotlin project has been released under MIT license, and has its own website at: https://github.com/nhaarman/mockito-kotlin .

How To Install Java Artifact com.nhaarman.mockitokotlin2.mockito-kotlin In Version 2.0.0

To install the Mockito-Kotlin artifact in version 2.0.0 add the following dependency to your pom.xml file for Maven Project.

The dependency needs to be added in the dependencies section which is located in the main project tag of the pom.xml file. The sample pom.xml file that uses Mockito-Kotlin dependency could look as follows:

Other dependency snippets for Gradle, SBT, Ivy, Grape, Leiningen, and Buildr

Below you can find code snippets for other project build tools like Gradle, SBT, Ivy, Grape, Leiningen, and Buildr.

Compile dependencies (1)

Licenses

Developers