Proto source sets that this source set extends from. All proto files from protoSourceSet will be used for code generation. All imports from protoSourceSet will be included as well, along with its BSR module dependencies. Its buf.lock file, if set, is adopted by this source set.
Example:
kotlin.sourceSets {
val someProto = create("someProto")
commonMain {
proto {
extendsFrom(protoSourceSets.getByName("someProto"))
}
}
}Content copied to clipboard