From c9b1c46c2964afb4f03b2a657dfeb177fc24d08e Mon Sep 17 00:00:00 2001 From: slam Date: Mon, 12 Feb 2024 12:50:46 +0800 Subject: [PATCH] feat(images-api): implement images api - https://platform.openai.com/docs/api-reference/images test for github action --- build.gradle.kts | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/build.gradle.kts b/build.gradle.kts index 43613f8..09eec17 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -15,8 +15,19 @@ dependencies { kover(projects.openaiClient.openaiClientDarwin) } +val autoVersion = project.property( + if (project.hasProperty("AUTO_VERSION")) { + "AUTO_VERSION" + } else { + "LIBRARY_VERSION" + } +) as String + subprojects { - group = "com.tddworks" + val GROUP: String by project + group = GROUP + version = autoVersion +// group = "com.tddworks" apply(plugin = rootProject.libs.plugins.kotlinMultiplatform.get().pluginId) }