The JVM SDK currently only supports legacy versions of Nitric prior to v1. This version is maintained for compatibility with existing projects and not recommended for new projects. New projects should be started using a supported SDK (presented automatically using the `nitric new` command) orget in touch to request an update to the latest version.
Nitric's JVM SDK
This SDK reference provides documentation for the functions and methods in Nitric's JVM library.
The library provides the ability to define and interact with cloud resources, as well as build application logic like functions/handlers.
Installation
If you used a Nitric starter template for JVM to scaffold your project, then the library will already be included in the dependencies. Using starter templates is the recommended installation option since it ensures the other files and configuration needed are also set up.
However, you can also install the SDK using Jitpack. An example using gradle is shown below:
Gradle
// build.gradle.kts
repositories {
maventCentral()
maven {
url = uri("https://jitpack.io")
}
}
dependencies {
implementation("com.github.nitrictech:jvm-sdk:main-SNAPSHOT")
}
Source
The source for the SDK is available on GitHub.