Skip to content

Commit

Permalink
Update outdated references to getAlternativePaths
Browse files Browse the repository at this point in the history
  • Loading branch information
clayburn committed Jun 6, 2022
1 parent 19b52b6 commit 56d5875
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,16 +324,16 @@ public abstract class GenerateProtoTask extends DefaultTask {
return variant
}

@Internal("Input captured by getAlternativePaths()")
@Internal("Input captured by getExecutables()")
abstract Property<ExecutableLocator> getProtocLocator()

@Internal("Input captured by getAlternativePaths(), this is used to query alternative path by locator name.")
@Internal("Input captured by getSnapshotArtifacts(), this is used to query alternative path by locator name.")
abstract MapProperty<String, FileCollection> getLocatorToAlternativePathsMapping()

@Internal
@Internal("Input captured by getReleaseDependenciesMapping()")
abstract MapProperty<String, String> getLocatorToDependencyMapping()

@Internal
@Internal("This property is no longer an input, but kept and marked @Internal for backwards compatibility.")
ConfigurableFileCollection getAlternativePaths() {
return objectFactory.fileCollection().from(getLocatorToAlternativePathsMapping().get().values())
}
Expand Down Expand Up @@ -391,7 +391,7 @@ public abstract class GenerateProtoTask extends DefaultTask {
}
}

@Internal("Input captured by getAlternativePaths()")
@Internal("Input captured by getExecutables()")
abstract MapProperty<String, ExecutableLocator> getPluginsExecutableLocators()

@Internal("Not an actual input to the task, only used to find tasks belonging to a variant")
Expand Down

0 comments on commit 56d5875

Please sign in to comment.