File tree 1 file changed +2
-2
lines changed
src/main/groovy/com/google/protobuf/gradle
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -188,9 +188,9 @@ class ProtobufPlugin implements Plugin<Project> {
188
188
private Configuration createCompileProtoPathConfiguration (String sourceSetName ) {
189
189
String compileProtoConfigName = Utils . getConfigName(sourceSetName, ' compileProtoPath' )
190
190
Configuration compileConfig =
191
- project. configurations. findByName (Utils . getConfigName(sourceSetName, ' compileOnly' ))
191
+ project. configurations. getByName (Utils . getConfigName(sourceSetName, ' compileOnly' ))
192
192
Configuration implementationConfig =
193
- project. configurations. findByName (Utils . getConfigName(sourceSetName, ' implementation' ))
193
+ project. configurations. getByName (Utils . getConfigName(sourceSetName, ' implementation' ))
194
194
return project. configurations. create(compileProtoConfigName) { Configuration it ->
195
195
it. visible = false
196
196
it. transitive = true
You can’t perform that action at this time.
0 commit comments