Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: KTX module #516

Merged
merged 15 commits into from May 22, 2022
4 changes: 0 additions & 4 deletions build.gradle.kts
Expand Up @@ -101,10 +101,6 @@ subprojects {
// Credential Manager
api(group = "com.github.philippheuer.credentialmanager", name = "credentialmanager", version = "0.1.2")

// Kotlin libraries
api(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version = "1.6.0")
testImplementation(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-test", version = "1.6.0")

// HTTP Client
api(group = "io.github.openfeign", name = "feign-slf4j", version = "11.8")
api(group = "io.github.openfeign", name = "feign-okhttp", version = "11.8")
Expand Down
6 changes: 4 additions & 2 deletions kotlin/build.gradle.kts
@@ -1,14 +1,16 @@
// In this section you declare the dependencies for your production and test code
dependencies {
val versionKotlin = "1.6.0"
PhilippHeuer marked this conversation as resolved.
Show resolved Hide resolved

// Twitch4J Modules
// We use compileOnly so using this library does not require all modules.
// This does mean that using code that references modules not available will crash.
// This shouldn't be an issue as most, if not all, code are extension functions.
compileOnly(project(":twitch4j"))

// Kotlin coroutines
api(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core")
testImplementation(group = "org.jetbrains.kotlinx", name="kotlinx-coroutines-test")
api(group = "org.jetbrains.kotlinx", name = "kotlinx-coroutines-core", version = versionKotlin)
testImplementation(group = "org.jetbrains.kotlinx", name="kotlinx-coroutines-test", version = versionKotlin)
testImplementation(project(":twitch4j"))
}

Expand Down