google / google/protobuf-gradle-plugin
Android + kts: Conflict while specifying proto sources directory
Open
- Dominant language
- Groovy
- Stars
- 1.8k
- Forks
- 288
- PR merge metrics
- No merged PRs in 30d
Description
When I decided to convert gradle groovy script to kotlin DSL variant I encountered this weird error.
```
android {
...
sourceSets {
getByName("main") {
proto {
^
Unresolved reference. None of the following candidates is applicable because of receiver type mismatch:
public fun AndroidSourceSet.proto(action: SourceDirectorySet.() -> Unit): Unit defined in com.google.protobuf.gradle
public fun SourceSet.proto(action: SourceDirectorySet.() -> Unit): Unit defined in com.google.protobuf.gradle
```
Is the above occuring because of #433 ?
Contributor guide
Assessment
This issue has not been assessed yet.