Skip to content

Gradle build fails with gradle versions > 1.8 #1

@brandt

Description

@brandt

Tested with several versions of gradle. Results below.

Test Results

Version Status
Gradle 1.6 BUILD SUCCESSFUL
Gradle 1.8 BUILD SUCCESSFUL
Gradle 2.0 BUILD FAILED
Gradle 2.3 BUILD FAILED

Example Error

$ gradle build

FAILURE: Build failed with an exception.

* Where:
Build file '/private/tmp/sendgrid-java-example/build.gradle' line: 1

* What went wrong:
A problem occurred evaluating root project 'sendgrid-java-example'.
> Failed to apply plugin [id 'fatjar']
   > Could not find method add() for arguments [fatJarPrepareFiles, class eu.appsatori.gradle.fatjar.tasks.PrepareFiles] on task set.

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

BUILD FAILED

Total time: 3.053 secs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions