-
- 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 String
getMode()
final Unit
setMode(String mode)
String
getTest()
Raw rule test
field value.Unit
setTest(String test)
Raw rule test
field value.final Boolean
getEnabled()
final Unit
setEnabled(Boolean enabled)
final List<String>
getInclude()
final Unit
setInclude(List<String> include)
final List<String>
getExclude()
final Unit
setExclude(List<String> exclude)
Boolean
validate()
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
test
field value. Needs to be wrapped in quotes when using string notation.
-
setTest
Unit setTest(String test)
Raw rule
test
field 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.
-
-
-
-