Package io.github.gmazzo.gradle.multiapi
Interface GradleMultiAPIPluginDevelopmentExtension
-
- All Implemented Interfaces:
public interface GradleMultiAPIPluginDevelopmentExtension
-
-
Method Summary
Modifier and Type Method Description abstract UnitsharedCache()Configures the Gradle version cache to be shared with the main Gradle user home directory. abstract UnitprojectCache()Configures the Gradle version cache to be stored in the project's build directory. abstract UnitdisableCache()Disables the Gradle version cache, causing each Gradle version to be downloaded on each build. abstract GradleAPITargetinvoke(String gradleVersion)abstract List<GradleAPITarget>invoke(String gradleVersions)abstract List<GradleAPITarget>invoke(Iterable<String> gradleVersions)abstract NamedDomainObjectContainer<GradleAPITarget>getTargetAPIs()The different Gradle versions to test the plugin against. abstract Provider<GradleAPITarget>getMinGradleAPI()The minimum Gradle version to support for the plugin, used to configure the test suites. abstract DirectoryPropertygetGradleUserHomeForCache()The Gradle user home directory to use for downloading (and caching) the different Gradle versions. -
-
Method Detail
-
sharedCache
abstract Unit sharedCache()
Configures the Gradle version cache to be shared with the main Gradle user home directory.
-
projectCache
abstract Unit projectCache()
Configures the Gradle version cache to be stored in the project's build directory.
-
disableCache
abstract Unit disableCache()
Disables the Gradle version cache, causing each Gradle version to be downloaded on each build.
-
invoke
abstract GradleAPITarget invoke(String gradleVersion)
-
invoke
abstract List<GradleAPITarget> invoke(String gradleVersions)
-
invoke
abstract List<GradleAPITarget> invoke(Iterable<String> gradleVersions)
-
getTargetAPIs
abstract NamedDomainObjectContainer<GradleAPITarget> getTargetAPIs()
The different Gradle versions to test the plugin against.
-
getMinGradleAPI
abstract Provider<GradleAPITarget> getMinGradleAPI()
The minimum Gradle version to support for the plugin, used to configure the test suites.
-
getGradleUserHomeForCache
abstract DirectoryProperty getGradleUserHomeForCache()
The Gradle user home directory to use for downloading (and caching) the different Gradle versions.
-
-
-
-