Install the Dependency
To use the iSDKs, do one of the following:
- Access the Agent API jar directly
- Download it from Maven Central
- Download it from the Splunk AppDynamics portal
The library version changes with each new API release, and is not tightly coupled to the version of the underlying agent.
For use with Maven Central, add the dependency to your build files in one of the following:
- Gradle:
dependencies { compile group: 'com.appdynamics.agent', name: 'agent-api', version: '20.6.0.30246' }
- Maven:
<dependency> <groupId>com.appdynamics.agent</groupId> <artifactId>agent-api</artifactId> <version>20.6.0.30246</version> </dependency>
See https://sdkdocs.appdynamics.com/java-agent-api/v20.6/ for Javadoc reference for the Agent API.
After this setup, you must be able to use Intellij to create a class, extend an iSDK template class, and auto-populate missing methods.