This repository was archived by the owner on Nov 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
This repository was archived by the owner on Nov 9, 2021. It is now read-only.
Tried the plugin in my gradle/kotlin project but failed with some errors (Gradle 7) #28
Copy link
Copy link
Open
Description
This is the error log:
- Type 'CompileTypeScript' property 'allowJs' has redundant getters: 'getAllowJs()' and 'isAllowJs()'.
Reason: Boolean property 'allowJs' has both an `is` and a `get` getter.
Possible solutions:
1. Remove one of the getters.
2. Annotate one of the getters with @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#redundant_getters for more details about this problem.
- Type 'CompileTypeScript' property 'allowJs' of type boolean shouldn't be annotated with @Optional.
Reason: Properties of primitive type cannot be optional.
Possible solutions:
1. Remove the @Optional annotation.
2. Use the java.lang.Boolean type instead.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#cannot_use_optional_on_primitive_types for more details about this problem.
- Type 'CompileTypeScript' property 'allowSyntheticDefaultImports' has redundant getters: 'getAllowSyntheticDefaultImports()' and 'isAllowSyntheticDefaultImports()'.
Reason: Boolean property 'allowSyntheticDefaultImports' has both an `is` and a `get` getter.
Possible solutions:
1. Remove one of the getters.
2. Annotate one of the getters with @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#redundant_getters for more details about this problem.
- Type 'CompileTypeScript' property 'allowSyntheticDefaultImports' of type boolean shouldn't be annotated with @Optional.
Reason: Properties of primitive type cannot be optional.
Possible solutions:
1. Remove the @Optional annotation.
2. Use the java.lang.Boolean type instead.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#cannot_use_optional_on_primitive_types for more details about this problem.
- Type 'CompileTypeScript' property 'allowUnreachableCode' has redundant getters: 'getAllowUnreachableCode()' and 'isAllowUnreachableCode()'.
Reason: Boolean property 'allowUnreachableCode' has both an `is` and a `get` getter.
Possible solutions:
1. Remove one of the getters.
2. Annotate one of the getters with @Internal.
Please refer to https://docs.gradle.org/7.0/userguide/validation_problems.html#redundant_getters for more details about this problem.
Metadata
Metadata
Assignees
Labels
No labels