Migrating from Gradle 2.3 to Gradle 5.0


(Bernardo) #1

Hi,

I’m trying to update one legacy project from gradle 2.3 to gradle 5.0. When I try to run “clean” or “build” tasks allways get the same error. I tryied to run by command line and by IntelliJ Idea.

Can anyone help with this?

    **FAILURE: Build failed with an exception.**

** * Where:**
** Build file ‘/home/bernardo.filardi/workspace/[PROJECT-NAME]/[PROJECT-MODULE]/build.gradle’ line: 47**

** * What went wrong:**
** A problem occurred evaluating project ‘:[PROJECT-MODULE]’.**
** > Could not find method implementation() for arguments [org.springframework.boot:spring-boot-starter-logging] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler.**

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

** * Get more help at https://help.gradle.org**

** BUILD FAILED in 0s**