Open
Description
The following gradle config fails for me without adding explicit task dependencies:
On gradle 8.4
plugins {
kotlin("multiplatform") version "1.9.10"
id("com.toasttab.protokt") version "1.0.0-alpha.10"
}
repositories {
mavenCentral()
}
kotlin {
jvmToolchain(17)
jvm {
withJava()
}
js(IR) {
browser()
}
}
If I add:
tasks.named("allMetadataJar").get().dependsOn("extractProto")
tasks.named("jvmJar").get().dependsOn("extractProto")
tasks.named("jsJar").get().dependsOn("extractProto")
it passes.
I believe protokt should be able to handle this internally. I'm not sure if it's the case here, but I have solved a similar problem by adding the output providers to the kotlin source set.
Metadata
Metadata
Assignees
Labels
No labels