We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8f2bb4 commit 7a53840Copy full SHA for 7a53840
gradle-plugin/src/main/kotlin/kotlinx/rpc/grpc/DefaultGrpcExtension.kt
@@ -81,7 +81,7 @@ internal open class DefaultGrpcExtension @Inject constructor(
81
@Suppress("detekt.LongMethod", "detekt.CyclomaticComplexMethod", "detekt.ThrowsCount")
82
private fun Project.configureTasks(protoSourceSet: DefaultProtoSourceSet) {
83
// todo remove after KRPC-180
84
- if (!protoSourceSet.languageSourceSets.isPresent) {
+ if (!protoSourceSet.languageSourceSets.isPresent || protoSourceSet.languageSourceSets.get().isEmpty()) {
85
logger.debug(
86
"Language source sets are not set for proto source set '${protoSourceSet.name}', " +
87
"skipping buf tasks configuration"
0 commit comments