Unified SDK - Java

These libraries are open source and are released as such. If you have located a bug or have questions, please visit the GitHub repositories that are associated with the sample code and provide feedback there.
Requirements

Building the API client library requires:

  1. Java 1.7+
  2. Maven or Gradle
Installation

To install the API client library to your local Maven repository, simply execute:

mvn clean install

To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:

mvn clean deploy

Refer to the OSSRH Guide for more information.

Maven users

Add this dependency to your project's POM:

  <dependency>
      <groupId>Avalara.SDK</groupId>
      <artifactId>Avalara.SDK</artifactId>
       <version>2.4.29</version>
      <scope>compile</scope>
  </dependency>      
Gradle users

Add this dependency to your project's build file:

repositories {
  mavenCentral()     // Needed if the 'Avalara.SDK' jar has been published to maven central.
  mavenLocal()        // Needed if the 'Avalara.SDK' jar has been published to the local maven repo.
}

dependencies {
  implementation "Avalara.SDK:Avalara.SDK:2.4.29"
}
Others

First, generate the JAR by executing:

 mvn clean package    

Then, manually install the following JARs:

  • target/Avalara.SDK-2.4.29.jar
  • target/lib/*.jar