All Products
Search
Document Center

Install dependencies

Last Updated: Apr 27, 2018

Overview

The Content Moderation API SDK contains a common part and a content moderation part of Alibaba Cloud Java SDK. The dependency of the common part is aliyun-java-sdk-core, and the dependency of the content moderation part is aliyun-java-sdk-green.

Installation

You can use Maven Repo to introduce the Content Moderation API SDK or manually download the SDK.jar and then add it to the project.

Maven Dependencies

  1. <dependency>
  2. <groupId>com.aliyun</groupId>
  3. <artifactId>aliyun-java-sdk-core</artifactId>
  4. <version>3.5.0</version>
  5. </dependency>
  6. <dependency>
  7. <groupId>com.aliyun</groupId>
  8. <artifactId>aliyun-java-sdk-green</artifactId>
  9. <version>3.1.0</version>
  10. </dependency>

Download jar