-
- All Implemented Interfaces:
-
org.gradle.api.Named
public abstract class KotlinWebpackCssRule extends KotlinWebpackRule
-
-
Constructor Summary
Constructors Constructor Description KotlinWebpackCssRule(String name)
-
Method Summary
Modifier and Type Method Description final StringgetMode()final UnitsetMode(String mode)StringgetTest()Raw rule testfield value.UnitsetTest(String test)Raw rule testfield value.final BooleangetEnabled()final UnitsetEnabled(Boolean enabled)final List<String>getInclude()final UnitsetInclude(List<String> include)final List<String>getExclude()final UnitsetExclude(List<String> exclude)Booleanvalidate()Validates the rule state just before it getting applied. Collection<RequiredKotlinJsDependency>dependencies(NpmVersions versions)Provides a list of required npm dependencies for the rule to function. -
-
Constructor Detail
-
KotlinWebpackCssRule
KotlinWebpackCssRule(String name)
-
-
Method Detail
-
getTest
String getTest()
Raw rule
testfield value. Needs to be wrapped in quotes when using string notation.
-
setTest
Unit setTest(String test)
Raw rule
testfield value. Needs to be wrapped in quotes when using string notation.
-
getEnabled
@Input() final Boolean getEnabled()
-
setEnabled
final Unit setEnabled(Boolean enabled)
-
getInclude
@Input() final List<String> getInclude()
-
setInclude
final Unit setInclude(List<String> include)
-
getExclude
@Input() final List<String> getExclude()
-
setExclude
final Unit setExclude(List<String> exclude)
-
validate
Boolean validate()
Validates the rule state just before it getting applied. Returning false will skip the rule silently. To terminate the build instead, throw an error.
-
dependencies
Collection<RequiredKotlinJsDependency> dependencies(NpmVersions versions)
Provides a list of required npm dependencies for the rule to function.
-
-
-
-