Skip to content

gradle scaffold: Cannot cast object '[configuration ':publicLib']' with class 'java.util.ArrayList' to class FileCollection #119

@ssonumerate

Description

@ssonumerate

mac osx 10.12.4
jdk 1.8.0_31
gradle 3.5

~/experiment/tutorial/MyEquinoxApp 🌈 :gradle scaffold
:
:
Download https://jcenter.bintray.com/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar
Download https://jcenter.bintray.com/org/codehaus/plexus/plexus-component-api/1.0-alpha-16/plexus-component-api-1.0-alpha-16.jar

FAILURE: Build failed with an exception.

  • Where:
    Build file '/Users/simonso/experiment/tutorial/MyEquinoxApp/build.gradle' line: 13

  • What went wrong:
    A problem occurred evaluating root project 'MyEquinoxApp'.

Failed to apply plugin [id 'org.akhikhl.wuff.eclipse-equinox-app']
Cannot cast object '[configuration ':publicLib']' with class 'java.util.ArrayList' to class 'org.gradle.api.file.FileCollection' due to: groovy.lang.GroovyRuntimeException: Could not find matching constructor for: org.gradle.api.file.FileCollection(org.gradle.api.internal.artifacts.configurations.DefaultConfiguration_Decorated)

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

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