Proto files from protoSourceSets will be available as import, but will not be used for code generation. Their BSR module dependencies are included as well, and the first buf.lock file found among them, if any, is adopted.
Example:
kotlin.sourceSets {
val someProto = create("someProto")
commonMain {
proto {
importsAllFrom(project.provider { protoSourceSets.filter { it.name == someProto.name } })
}
}
}Content copied to clipboard