diff --git a/build.gradle.kts b/build.gradle.kts index 79cfe85c..0aa15c70 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -20,8 +20,8 @@ subprojects { version = OpenAI.version repositories { + mavenLocal() mavenCentral() } - val javadoc by tasks.creating(Javadoc::class) } diff --git a/sample/js/build.gradle.kts b/sample/js/build.gradle.kts index 4d39decd..af0dcf7f 100644 --- a/sample/js/build.gradle.kts +++ b/sample/js/build.gradle.kts @@ -2,12 +2,9 @@ plugins { kotlin("js") } -repositories { - mavenCentral() -} - dependencies { implementation(project(":openai-client")) + //implementation("com.aallam.openai:openai-client:0.1.0") } kotlin { diff --git a/sample/jvm/build.gradle.kts b/sample/jvm/build.gradle.kts index 23eee25e..7f4306e8 100644 --- a/sample/jvm/build.gradle.kts +++ b/sample/jvm/build.gradle.kts @@ -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")) } diff --git a/sample/native/build.gradle.kts b/sample/native/build.gradle.kts index 6aa67297..0b526712 100644 --- a/sample/native/build.gradle.kts +++ b/sample/native/build.gradle.kts @@ -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") @@ -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")) } }