Hello Everyone,

I was trying to setup Fineract 1.x for development this weekend and did not
succeed cuase of a few errors(I have not touched the code base since
December 2016).

Firstly, when I run ./gradlew build or bootRun from the top level
directory, I get the following error:

"FAILURE: Build failed with an exception.

* *Where:*
*Script
'/home/awasum/apache-projects/fineract-monolith/fineract/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 <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
<https://docs.gradle.org/4.10/userguide/command_line_interface.html#sec:command_line_warnings>*
"

I deleted the providedComplile() method in both:
*/fineract/fineract-provider/dependencies.gradle'
line: 30*
and in the : fineract-provider/dev-dependencies.gradle' line: 30 files.

Then run ./gradle build again and I now get these error:


"> Task :compileJava FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Failed to capture fingerprint of input files for task ':compileJava'
property 'classpath' during up-to-date check.
> java.lang.UnsupportedOperationException (no error message)

* 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

BUILD FAILED in 22s
"
Even when I eclipssify or import into IntelliJ using our old dev guides
here:
https://mifosforge.jira.com/wiki/spaces/MDZ/pages/92012613/Build+Instructions

The IDEs, both STS 4 and IntelliJ cannot find the main class when executing.

I dont know what I am missing. Has anyone face this problem or can someone
help me get upto speed?

I wonder if our prospective GSoC students are facing same problems. Once we
get this sorted out, I will update the relevant manuals to ease onboarding
new contributors.

Thanks
Awasum

Reply via email to