DbSetup is available, with its sources and its javadoc, in Maven central. You can download it there, or use your favorite dependency management tool to download it automatically.

Latest version (2.1.0), Java 8 required

Gradle

Add this to the dependencies section of your build.gradle file:

testCompile 'com.ninja-squad:DbSetup:2.1.0'

Or, if you want to use the Kotlin module:

testCompile 'com.ninja-squad:DbSetup-kotlin:2.1.0'

Maven

Add this to the dependencies section of your pom.xml file:

<dependency>
    <groupId>com.ninja-squad</groupId>
    <artifactId>DbSetup</artifactId>
    <version>2.1.0</version>
    <scope>test</scope>
</dependency>

Or, if you want to use the Kotlin module:

<dependency>
    <groupId>com.ninja-squad</groupId>
    <artifactId>DbSetup-kotlin</artifactId>
    <version>2.1.0</version>
    <scope>test</scope>
</dependency>

Previous version (1.6.0), Java 6 or later required

Gradle

Add this to the dependencies section of your build.gradle file:

testCompile 'com.ninja-squad:DbSetup:1.6.0'

Maven

Add this to the dependencies section of your pom.xml file:

<dependency>
    <groupId>com.ninja-squad</groupId>
    <artifactId>DbSetup</artifactId>
    <version>1.6.0</version>
    <scope>test</scope>
</dependency>