Package io.github.gciatto.kt.mpp
Class ProjectUtilsKt
-
- All Implemented Interfaces:
public final class ProjectUtilsKt
-
-
Field Summary
Fields Modifier and Type Field Description private final static StringnpmCompliantVersionprivate final static Stringversionprivate final static StringjsPackageName
-
Method Summary
Modifier and Type Method Description final StringgetNpmCompliantVersion()final StringgetVersion()final StringgetJsPackageName()final static Unitlog(Project $self, String message, LogLevel logLevel)final static UnitkotlinVersion(Project $self, String version)final static UnitkotlinVersion(Project $self, Provider<String> provider)final static StringgetAsEitherFileOrValue(String $self, Project project, Charset charset)final static UnitjvmVersion(Project $self, String version)final static UnitjvmVersion(Project $self, Provider<String> provider)final static UnitnodeVersion(Project $self, String default, Object override)final static UnitnodeVersion(Project $self, Provider<String> default, Object override)final static UnitpackageJson(Project $self, Function1<PackageJson, Unit> handler)final static Personperson(PackageJson $self, Developer developer)final static UnitwithPlugin(Project $self, Object plugin, Function1<Plugin<?>, Unit> action)final static UnitforEachPlugin(Project $self, Iterable<Object> plugins, Function1<Plugin<?>, Unit> action)final static UnitforEachPlugin(Project $self, Object name, Object names, Function1<Plugin<?>, Unit> action)final static UnitifAllPluginsAltogether(Project $self, List<Object> plugins, Function0<Unit> action)final static UnitifAllPluginsAltogether(Project $self, Object name, Object names, Function0<Unit> action)-
-
Method Detail
-
getNpmCompliantVersion
final String getNpmCompliantVersion()
-
getVersion
final String getVersion()
-
getJsPackageName
final String getJsPackageName()
-
kotlinVersion
final static Unit kotlinVersion(Project $self, String version)
-
kotlinVersion
final static Unit kotlinVersion(Project $self, Provider<String> provider)
-
getAsEitherFileOrValue
final static String getAsEitherFileOrValue(String $self, Project project, Charset charset)
-
jvmVersion
final static Unit jvmVersion(Project $self, String version)
-
jvmVersion
final static Unit jvmVersion(Project $self, Provider<String> provider)
-
nodeVersion
final static Unit nodeVersion(Project $self, String default, Object override)
-
nodeVersion
final static Unit nodeVersion(Project $self, Provider<String> default, Object override)
-
packageJson
final static Unit packageJson(Project $self, Function1<PackageJson, Unit> handler)
-
withPlugin
final static Unit withPlugin(Project $self, Object plugin, Function1<Plugin<?>, Unit> action)
-
forEachPlugin
final static Unit forEachPlugin(Project $self, Iterable<Object> plugins, Function1<Plugin<?>, Unit> action)
-
forEachPlugin
final static Unit forEachPlugin(Project $self, Object name, Object names, Function1<Plugin<?>, Unit> action)
-
ifAllPluginsAltogether
final static Unit ifAllPluginsAltogether(Project $self, List<Object> plugins, Function0<Unit> action)
-
ifAllPluginsAltogether
final static Unit ifAllPluginsAltogether(Project $self, Object name, Object names, Function0<Unit> action)
-
-
-
-