Skip to content

Commit

Permalink
feat(BE-188): As a user, I want able to use claude api(anthropic-client)
Browse files Browse the repository at this point in the history
fix:   Reason: Task ':openai-client:koverHtmlReport' uses this output of task ':anthropic-client:jvmTest' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.

                   Possible solutions:
                     1. Declare task ':anthropic-client:jvmTest' as an input of ':openai-client:koverHtmlReport'.
                     2. Declare an explicit dependency on ':anthropic-client:jvmTest' from ':openai-client:koverHtmlReport' using Task#dependsOn.
                     3. Declare an explicit dependency on ':anthropic-client:jvmTest' from ':openai-client:koverHtmlReport' using Task#mustRunAfter.
  • Loading branch information
hanrw committed Apr 13, 2024
1 parent d1d15c0 commit 2fe8a6d
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 25 deletions.
1 change: 0 additions & 1 deletion anthropic-client/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
alias(libs.plugins.kover)
`maven-publish`
}

Expand Down
2 changes: 0 additions & 2 deletions common/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
plugins {
alias(libs.plugins.kotlinx.serialization)
alias(libs.plugins.kover)
// alias(libs.plugins.touchlab.kmmbridge)
// id("module.publication")
`maven-publish`
}

Expand Down
10 changes: 0 additions & 10 deletions openai-client/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
alias(libs.plugins.kover)
`maven-publish`
}

Expand All @@ -12,13 +11,4 @@ kotlin {
}
}
}
}

tasks {
koverHtmlReport {
dependsOn(":anthropic-client:jvmTest")
}
koverVerify {
dependsOn(":anthropic-client:jvmTest")
}
}
2 changes: 0 additions & 2 deletions openai-client/openai-client-core/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
plugins {
alias(libs.plugins.kotlinx.serialization)
alias(libs.plugins.kover)
// alias(libs.plugins.touchlab.kmmbridge)
// id("module.publication")
`maven-publish`
}

Expand Down
10 changes: 0 additions & 10 deletions openai-gateway/build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
plugins {
alias(libs.plugins.kover)
`maven-publish`
}

Expand All @@ -12,13 +11,4 @@ kotlin {
}
}
}
}

tasks {
koverHtmlReport {
dependsOn(":anthropic-client:jvmTest")
}
koverVerify {
dependsOn(":anthropic-client:jvmTest")
}
}

0 comments on commit 2fe8a6d

Please sign in to comment.