You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running a Gradle build fails with a configuration problem: overrideService$kt2ts_plugin' is missing an input or output annotation:
A problem was found with the configuration of task ':kt2ts' (type 'Kt2TsTask').
- In plugin 'se.jensim.kt2ts' type 'se.jensim.gradle.plugin.kt2ts.Kt2TsTask'
property 'overrideService$kt2ts_plugin' is missing an input or output annotation.
I have used the example config. I only changed the annotation to match my type.
kt2ts {
// Repeatable block for linking outputfile to a set of annotations
output {
outputFile = file("$buildDir/ts/pss-api.d.ts")
annotations =listOf("de.tfr.util.GenerateTS")
}
classFilesSources {
// Two ways of setting classes dir, if both are set, both are jointly used// One has to be provided (for task input resolution to work properly, I made it mandatory)
compileTasks =listOf(tasks.compileKotlin)
classesDirs = files("$buildDir/classes/kotlin/main")
}
}
It fails without generating any .ts file.
System
Kotlin: 1.9.23
Gradle: 8.7
The text was updated successfully, but these errors were encountered:
Running a Gradle
build
fails with a configuration problem:overrideService$kt2ts_plugin' is missing an input or output annotation
:I have used the example config. I only changed the annotation to match my type.
It fails without generating any
.ts
file.System
Kotlin: 1.9.23
Gradle: 8.7
The text was updated successfully, but these errors were encountered: