I have cloned https://github.com/apache/fineract and trying to build and run integration tests as documented in it's README but every gradle tasks fails with the error
FAILURE: Build failed with an exception. > * Where: > Script > '/Users/l4rry/workspace/micro-finance-backend/fineract-provider/dependencies.gradle' > line: 30 > * What went wrong: > A problem occurred evaluating script. > > Could not find method providedCompile() for arguments [] 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 > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 5.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/4.10/userguide/command_line_interface.html#sec:command_line_warnings This reports an error on line 30 of the file dependencies.gradle. The error is about this method providedCompile() providedCompile( > // [group: 'javax.servlet', name: 'servlet-api', version: '2.5'], > ) If I delete that method, I get another error message with any gradle task. ➜ micro-finance-backend git:(pesabooks) ✗ ./gradlew clean war > > Task :rat FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':rat'. > > Found 3 files with unapproved/unknown licenses. See > > file:/Users/l4rry/workspace/micro-finance-backend/build/reports/rat/rat-report.txt > * 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 > Deprecated Gradle features were used in this build, making it incompatible > with Gradle 5.0. > Use '--warning-mode all' to show the individual deprecation warnings. I have Java 8u191 and MacOS 10.12.6. And all gradlew task are run with the gradlew wrapper. Thanks, Larry
