[ https://issues.apache.org/jira/browse/DATAFU-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17243005#comment-17243005 ]
Eyal Allweil edited comment on DATAFU-156 at 12/3/20, 1:51 PM: --------------------------------------------------------------- Hi [~LutzWeischerFujitsu] DataFu requires an older version of Gradle ... there are some features in our build which were deprecated in Gradle 5. I'll see if I can fix it to work with newer versions of Gradle; in the meantime you can try using 4.9, which is what I'm using and is confirmed to work. If you are only trying to build _datafu-spark_, another thing you can try is to change the project to only build that. You can do this by deleting the _buildSrc_ directory, and {color:#1d1c1d}removing {color}_"build-plugin","datafu-pig","datafu-hourglass"_ from the file _settings.gradle_ in line 20. After you do this, {code:java} ./gradlew assemble{code} should build _datafu-spark_ successfully. was (Author: eyal): Hi [~LutzWeischerFujitsu] DataFu requires an older version of Gradle ... there are some features in our build which were deprecated in Gradle 5. I'll see if I can fix it to work with newer versions of Gradle; in the meantime you can try using 4.9, which is what I'm using and is confirmed to work. > gradle -b bootstrap.gradle fails on AArch64, Fedora 33 (Java 11, also CentOS > 8, Java 1.8) > ------------------------------------------------------------------------------------------ > > Key: DATAFU-156 > URL: https://issues.apache.org/jira/browse/DATAFU-156 > Project: DataFu > Issue Type: Bug > Reporter: Lutz Weischer > Priority: Minor > > > Task :buildSrc:compileGroovy > startup failed: > /data/jw/apache/datafu/buildSrc/src/main/groovy/datafu/autojar/task/Autojar.groovy: > 44: The return type of java.lang.String getMainClass() in > datafu.autojar.task.Autojar is incompatible with > org.gradle.api.provider.Property in org.gradle.api.tasks.JavaExec > . At [44:5] @ line 44, column 5. > String mainClass > ^ > 1 error > > Task :buildSrc:compileGroovy FAILED > FAILURE: Build failed with an exception. > * What went wrong: > Execution failed for task ':buildSrc:compileGroovy'. > > Compilation failed; see the compiler error output for details. > * 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 7.0. > Use '--warning-mode all' to show the individual deprecation warnings. > See > https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings > BUILD FAILED in 17s -- This message was sent by Atlassian Jira (v8.3.4#803005)