Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract GenerateProtoTask querying fields to ProtoVariant (2/3) #669

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
4 changes: 2 additions & 2 deletions examples/exampleKotlinDslProject/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ protobuf {
}
}
generateProtoTasks {
ofSourceSet("main").forEach {
it.plugins {
ofSourceSet("main") {
plugins {
// Apply the "grpc" plugin whose spec is defined above, without
// options. Note the braces cannot be omitted, otherwise the
// plugin will not be added. This is because of the implicit way
Expand Down
2 changes: 1 addition & 1 deletion examples/exampleProject/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ protobuf {
}
}
generateProtoTasks {
ofSourceSet('main').configureEach {
ofSourceSet('main') {
plugins {
// Apply the "grpc" plugin whose spec is defined above, without
// options. Note the braces cannot be omitted, otherwise the
Expand Down
Loading