Skip to content

Execution failed for task ':verifyGoogleJavaFormat'. > Illegal char < > at index 32: google-java-format\Version=1.1.1 #63

@manoop

Description

@manoop

Hello,
I have tried with 2 versions V0.8 and V0.9 of the google formatter plugin.

id 'com.github.sherter.google-java-format' version '0.9'

With both of them I am getting the below error. It seems to be issue with the way path is determined.

Caused by: java.nio.file.InvalidPathException: Illegal char <
> at index 32: google-java-format\Version=1.1.1
Build_time=2020-09-25T09:01:10Z
        at com.github.sherter.googlejavaformatgradleplugin.PersistenceModule.provideOutputPath(PersistenceModule.java:50)
        at com.github.sherter.googlejavaformatgradleplugin.PersistenceModule_ProvideOutputPathFactory.provideOutputPath(PersistenceModule_ProvideOutputPathFactory.java:39)
        at com.github.sherter.googlejavaformatgradleplugin.DaggerPersistenceComponent.getNamedPath2(DaggerPersistenceComponent.java:27)
        at com.github.sherter.googlejavaformatgradleplugin.DaggerPersistenceComponent.getNamedPath3(DaggerPersistenceComponent.java:39)

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