-
- All Implemented Interfaces:
-
org.gradle.api.Named
public abstract class KotlinWebpackRule implements Named
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
KotlinWebpackRule.Loader
-
Constructor Summary
Constructors Constructor Description KotlinWebpackRule(String name)
-
Method Summary
Modifier and Type Method Description abstract Property<Boolean>
getEnabled()
abstract Property<String>
getTest()
Raw rule test
field value.abstract ListProperty<String>
getInclude()
abstract ListProperty<String>
getExclude()
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. String
getName()
Boolean
equals(Object other)
Integer
hashCode()
-
-
Constructor Detail
-
KotlinWebpackRule
KotlinWebpackRule(String name)
-
-
Method Detail
-
getEnabled
@Input() abstract Property<Boolean> getEnabled()
-
getTest
@Input() abstract Property<String> getTest()
Raw rule
test
field value. Needs to be wrapped in quotes when using string notation.
-
getInclude
@Input() abstract ListProperty<String> getInclude()
-
getExclude
@Input() abstract ListProperty<String> getExclude()
-
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.
-
-
-
-