aallam / openai-kotlin

OpenAI API client for Kotlin with multiplatform and coroutines capabilities.
MIT License
1.49k stars 179 forks source link

Build Issue: add package name to Quality.kt #316

Closed triathematician closed 7 months ago

triathematician commented 7 months ago

Description

Add package declaration to https://github.com/aallam/openai-kotlin/blob/main/openai-core/src/commonMain/kotlin/com.aallam.openai.api/Quality.kt

Omitting this causes automatic module resolution to fail for openai-core-jvm, causing build issues:

[WARNING] Can't extract module name from openai-core-jvm-3.7.1.jar: QualityKt.class found in top-level directory (unnamed package not allowed in module)

Steps to Reproduce

Downstream libraries using openai-core-jvm and module-info.java.

Environment

Additional Info

Add any other relevant context here.