You can install the openlayer Java SDK from Gradle or Maven.
Copy
Ask AI
/* For Gradle, add the following dependency to your build.gradle and replace with the version number you want to use from: - https://github.com/openlayer-ai/openlayer-java/releases/latest*/implementation("com.openlayer.api:openlayer-java:0.1.0-alpha.2")
Copy
Ask AI
<!-- For Maven, add the following dependency to your POM and replace with the version number you want to use from: - https://github.com/openlayer-ai/openlayer-java/releases/latest--><dependency> <groupId>com.openlayer.api</groupId> <artifactId>openlayer-java</artifactId> <version>0.1.0-alpha.2</version></dependency>