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

Port Simple Sequence Chain + Unit tests #12

Merged
merged 9 commits into from
May 2, 2023
Prev Previous commit
Next Next commit
config: add arrow bundle in gradle
realdavidvega committed Apr 27, 2023
commit 2e92d6c0e169b66639586f1c2b81f7caba043188
5 changes: 2 additions & 3 deletions build.gradle.kts
Original file line number Diff line number Diff line change
@@ -46,10 +46,9 @@ kotlin {
sourceSets {
commonMain {
dependencies {
implementation(libs.arrow.fx)
implementation(libs.arrow.resilience)
implementation(libs.kotlinx.serialization.json)
implementation(libs.bundles.arrow)
implementation(libs.bundles.ktor.client)
implementation(libs.kotlinx.serialization.json)
implementation(libs.okio)
implementation(libs.uuid)
implementation(libs.klogging)
8 changes: 7 additions & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -16,7 +16,8 @@ testcontainers = "1.17.6"
hikari = "5.0.1"

[libraries]
arrow-fx = { module = "io.arrow-kt:arrow-fx-coroutines", version.ref = "arrow" }
arrow-core = { module = "io.arrow-kt:arrow-core", version.ref = "arrow" }
arrow-fx-coroutines = { module = "io.arrow-kt:arrow-fx-coroutines", version.ref = "arrow" }
arrow-resilience = { module = "io.arrow-kt:arrow-resilience", version.ref = "arrow" }
open-ai = { module = "com.theokanning.openai-gpt3-java:service", version.ref = "openai" }
kotlinx-serialization-json = { module = "org.jetbrains.kotlinx:kotlinx-serialization-json", version.ref = "kotlinx-json" }
@@ -38,6 +39,11 @@ postgresql = { module = "org.postgresql:postgresql", version.ref = "postgresql"
testcontainers-postgresql = { module = "org.testcontainers:postgresql", version.ref = "testcontainers" }

[bundles]
arrow = [
"arrow-core",
"arrow-fx-coroutines",
"arrow-resilience"
]
ktor-client = [
"ktor-client",
"ktor-client-content-negotiation",