An unofficial Java SDK to interact with the UploadThing API.
Use jitpack to add the library from GitHub.
Add this to your pom.xml
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>Then add this library as a dependency.
<dependency>
<groupId>com.github.Dev-Siri</groupId>
<artifactId>uploadthing4j</artifactId>
<version>1.0.0</version>
</dependency>Add this in your root settings.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
// For settings.gradle.kts, use this instead:
// maven { url = uri("https://jitpack.io") }
maven { url 'https://jitpack.io' }
}
}Then add the library as a dependency:
dependencies {
// For settings.gradle.kts, use this instead:
// implementation("com.github.Dev-Siri:uploadthing4j:1.0.0")
implementation 'com.github.Dev-Siri:uploadthing4j:1.0.0'
}Clone the repository.
$ git clone https://github.com/Dev-Siri/uploadthing4jThen get going with your IDE.
This project is MIT licensed.
