Closed pusolito closed 1 year ago
You'll want to use version 1.0.0-alpha.6.
One thing to look out for - since the Kotlin JS plugin is now deprecated, protokt will soon stop supporting it. All the same codegen will happen for a multiplatform project with a JS target but we haven't quite worked out the mechanics yet. It's another "alpha" factor that snuck up in Kotlin 1.9.
I tried using 1.0.0-alpha.6, but hit an issue where that version of the plugin doesn't seem to be in staging (maven, url: https://oss.sonatype.org/content/repositories/snapshots).
I see that version for other parts of the library, but the .gradle/tools/protoc-gen-protokt-1.0.0-alpha.6
directory is empty and therefore the build fails:
protoc: stdout: . stderr: /Users/neddy/Development/Projects/FurryFloofs/.gradle/tools/protoc-gen-protokt-1.0.0-alpha.6/bin/protoc-gen-protokt: program not found or is not executable
Part of going multiplatform involved refactoring publishing logic and while it passes in CI, the integration with Maven Central broke. Working on a fix now.
Still working on this. May be a few days.
Fixed in 1.0.0-alpha.9
I have a pure Kotlin/JS project with the following config. However, the build fails with the error below. Am I missing something? Does the plugin only work with Kotlin JVM? Or is it designed to work w/ sub-projects? This seemed to be referenced in issue #138.