Executes the given action on the proto source set for this KotlinSourceSet.
Executes the given action on the proto source set for this SourceSet.
Adds a proto dependency for code generation from within KotlinSourceSet.dependencies.
Proto files (.proto) from the resolved archives will be included in code generation.
Example:
kotlin.sourceSets {
commonMain {
dependencies {
proto("com.example:shared-protos:1.0")
}
}
}Adds a proto dependency for code generation from within KotlinSourceSet.dependencies.
Proto files (.proto) from the resolved archives will be included in code generation.
Example:
kotlin.sourceSets {
commonMain {
dependencies {
proto("com.example:shared-protos:1.0") { ... }
}
}
}Adds a proto dependency for code generation from within KotlinSourceSet.dependencies.
Proto files (.proto) from the resolved archives will be included in code generation.
Example:
kotlin.sourceSets {
commonMain {
dependencies {
proto(dependency) { ... }
}
}
}Returns the proto source set for this KotlinSourceSet.
Returns the proto source set for this SourceSet.