Link

Add as a Gradle dependency

This tutorial assumes that the BuildVu jar file is named “buildvu.jar”, if you’re using the trial jar, make sure to rename the file to “buildvu.jar” before following this step.

In order to use BuildVu in a Gradle project, you will need to add the jar to the project as a dependency. This process is the same for both HTML and SVG versions. To do this you will need to first download the BuildVu jar by signing up for a BuildVu trial or by visiting the customer download page.

First add BuildVu jar into your project lib folder, and then either:

Option 1

Add a flatDir repository and a dependency to the build.gradle file.

repositories {
    flatDir {
        dirs 'lib'
    }
}

dependencies {
    implementation 'idrsolutions:buildvu'
}

Option 2

Add a file dependency to the build.gradle file.

dependencies {
    implementation files('lib/buildvu.jar')
}

(Version tested: Gradle 6.6.1)

Still need help? Send us your questions.