Skip to content
This repository was archived by the owner on Nov 9, 2021. It is now read-only.
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

@SchlauFuchs

Description

@SchlauFuchs

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions