Proto files from protoSourceSets will be available as import, but will not be used for code generation.
Example:
kotlin.sourceSets {
val someProto = create("someProto")
commonMain {
proto {
importsAllFrom(project.provider { protoSourceSets.filter { it.name == someProto.name } })
}
}
}Content copied to clipboard