diff --git a/README.md b/README.md index 5e29509..a42b6d0 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Feel free to use, modify, and distribute this code as needed. For Kotlin DSL (`build.gradle.kts`), add this to your dependencies block: ```kotlin dependencies { - implementation("com.cjcrafter:openai:1.2.4") + implementation("com.cjcrafter:openai:1.2.5") } ``` For Maven projects, add this to your `pom.xml` file in the `` block: @@ -16,10 +16,10 @@ For Maven projects, add this to your `pom.xml` file in the `` bloc com.cjcrafter openai - 1.2.4 + 1.2.5 ``` -See the [maven repository](https://central.sonatype.com/artifact/com.cjcrafter/openai/1.2.4) for gradle/ant/etc. +See the [maven repository](https://central.sonatype.com/artifact/com.cjcrafter/openai/1.2.5) for gradle/ant/etc. # Working Example diff --git a/build.gradle.kts b/build.gradle.kts index e5837ed..86f38df 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,7 +1,7 @@ import com.github.breadmoirai.githubreleaseplugin.GithubReleaseTask group = "com.cjcrafter" -version = "1.2.4" +version = "1.2.5" plugins { `java-library` @@ -25,16 +25,9 @@ dependencies { testImplementation("org.junit.jupiter:junit-jupiter:5.9.2") } -tasks { - compileJava { - options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything - options.release.set(8) - } - javadoc { - options.encoding = Charsets.UTF_8.name() // We want UTF-8 for everything - } - processResources { - filteringCharset = Charsets.UTF_8.name() // We want UTF-8 for everything +tasks.withType().configureEach { + kotlinOptions { + jvmTarget = "1.8" } }