Installation
We recommend using a dependency management tool to manage twitch4j and sub dependencies. As a fallback method you can also download a fatJar adding shaded
scope to your configuration build.
Usage in a Application
- Gradle
- Gradle - Kotlin DSL
- Maven
build.gradle
dependencies {
implementation 'com.github.twitch4j:twitch4j:1.23.0'
}
build.gradle.kts
dependencies {
implementation("com.github.twitch4j:twitch4j:1.23.0")
}
pom.xml
<dependency>
<groupId>com.github.twitch4j</groupId>
<artifactId>twitch4j</artifactId>
<version>1.23.0</version>
</dependency>
Usage in a Library
- Gradle
- Gradle - Kotlin DSL
- Maven
build.gradle
dependencies {
api 'com.github.twitch4j:twitch4j:1.23.0'
}
build.gradle.kts
dependencies {
api("com.github.twitch4j:twitch4j:1.23.0")
}
pom.xml
<dependency>
<groupId>com.github.twitch4j</groupId>
<artifactId>twitch4j</artifactId>
<version>1.23.0</version>
</dependency>