Skip to content

Commit

Permalink
chore: add full path for the lib dependency as guidance
Browse files Browse the repository at this point in the history
  • Loading branch information
aallam committed Mar 8, 2021
1 parent 30aa848 commit d1593c3
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ subprojects {
version = OpenAI.version

repositories {
mavenLocal()
mavenCentral()
}

val javadoc by tasks.creating(Javadoc::class)
}
5 changes: 1 addition & 4 deletions sample/js/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,9 @@ plugins {
kotlin("js")
}

repositories {
mavenCentral()
}

dependencies {
implementation(project(":openai-client"))
//implementation("com.aallam.openai:openai-client:0.1.0")
}

kotlin {
Expand Down
7 changes: 2 additions & 5 deletions sample/jvm/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,11 @@ plugins {
application
}

repositories {
mavenCentral()
}

dependencies {
// Use the Kotlin JDK 8 standard library.
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation(project(":openai-client"))
//implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8")
implementation("com.aallam.openai:openai-client:0.1.0")
implementation(Ktor("client-apache"))
}

Expand Down
5 changes: 1 addition & 4 deletions sample/native/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@ plugins {
group = "com.aallam.kotlin-data"
version = "1.0-SNAPSHOT"

repositories {
mavenCentral()
}

kotlin {
val hostOs = System.getProperty("os.name")
val isMingwX64 = hostOs.startsWith("Windows")
Expand All @@ -29,6 +25,7 @@ kotlin {
val nativeMain by getting {
dependencies {
implementation(project(":openai-client"))
//implementation("com.aallam.openai:openai-client:0.1.0")
implementation(Ktor("client-curl"))
}
}
Expand Down

0 comments on commit d1593c3

Please sign in to comment.