Describe the bug
Gradle build fails if both io.quarkus and com.google.protobuf plugins are in use
Expected behavior
Successful build
Actual behavior
What went wrong:
A problem occurred configuring root project 'lego'.
Configuration with name 'native-testCompileProtoPath' not found.
Trying to specify any configuration starting with 'native' results in 'unexpected token: native @ '
e.g.
configurations {
native-testCompileProtoPath
}
To Reproduce
Steps to reproduce the behavior:
Environment (please complete the following information):
uname -a or ver:java -version:mvnw --version or gradlew --version):/cc @quarkusio/devtools
I was able to get them to work together with
build.gradle.kts
project.configurations {
create("native-testCompileProtoPath")
}
Thanks.
Can confirm that the workaround worked for me as well
/cc @glefloch didn't you make some adjustments around this area?
I remember reading an issue about that but I can't find it. I think @aloubyansky fixed it.
If that's not the case, I will have a look.
No, I did not look into this.
Ahh found it: https://quarkusio.zulipchat.com/#narrow/stream/187038-dev/topic/Gradle.20help.20requested
It seems the problem was comming from the protobufplugin.
@Ladicek pushed a commit but I'm not sure they released a new version of the plugin.
Is this still a problem or has it been fixed?
I don't think they released the fix provided by @Ladicek, so I would say this is still a problem..
Just for the record, because I noticed that it is not linked from here, the fix is this: https://github.com/google/protobuf-gradle-plugin/pull/399
@dliraf the protobuf plugin seems to have release a new version 0.8.13 which should embed the fix.
Can you try with this new version of the plugin?
Can confirm that they fixed the issue in com.google.protobuf:0.8.13