Proto files from protoSourceSet will be available as import, but will not be used for code generation. Its BSR module dependencies are included as well, and its buf.lock file, if set, is adopted.
Example:
kotlin.sourceSets {
val someProto = create("someProto")
commonMain {
proto {
importsFrom(protoSourceSets.getByName("someProto"))
}
}
}Content copied to clipboard