Package com.blackbuild.klum.ast.gradle
Class KlumExtension
java.lang.Object
com.blackbuild.klum.ast.gradle.KlumExtension
- Direct Known Subclasses:
KlumModelExtension
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.gradle.api.provider.Property<String>voidsetGroovyVersion(int version) Set the groovy version to use (major version only).voidsetGroovyVersion(GroovyVersion version) Deprecated, for removal: This API element is subject to removal in a future version.voidsetGroovyVersion(String version) Set the groovy version to use.
-
Constructor Details
-
KlumExtension
public KlumExtension()
-
-
Method Details
-
getGroovyVersionInternal
-
setGroovyVersion
Deprecated, for removal: This API element is subject to removal in a future version.- Parameters:
version- version to use
-
setGroovyVersion
Set the groovy version to use. This can be major, major and minor or a full version string. (5, 5.0, 5.0.6)- Parameters:
version- the version to use
-
setGroovyVersion
public void setGroovyVersion(int version) Set the groovy version to use (major version only).- Parameters:
version- the version to use
-
GroovyDependenciesExtension.setGroovyVersion(String)orGroovyDependenciesExtension.setGroovyVersion(int)instead