public interface GradleDistributionProvider
Modifier and Type | Method and Description |
---|---|
void |
addChangeListener(ChangeListener l)
Add a
ChangeListener to be notified when the required
GradleDistributionManager.GradleDistribution changes for the project; |
GradleDistributionManager.GradleDistribution |
getGradleDistribution()
Shall return the
GradleDistributionManager.GradleDistribution used by the project. |
void |
removeChangeListener(ChangeListener l)
Remove a registered
ChangeListener . |
GradleDistributionManager.GradleDistribution getGradleDistribution()
GradleDistributionManager.GradleDistribution
used by the project.
It may return null
if the project does not have specific
GradleDistribution requirements. Gradle defaults of the actual project
and tooling API would be used in that case (not recommended).GradeDistribution
to use for the project.void addChangeListener(ChangeListener l)
ChangeListener
to be notified when the required
GradleDistributionManager.GradleDistribution
changes for the project;l
- the ChanegListener
void removeChangeListener(ChangeListener l)
ChangeListener
.l
- the ChanegListener