Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to build with Gradle 7.x #17

Open
kjweinert opened this issue Nov 4, 2022 · 0 comments
Open

Unable to build with Gradle 7.x #17

kjweinert opened this issue Nov 4, 2022 · 0 comments

Comments

@kjweinert
Copy link

Build fails with the following error when using Gradle 7

A problem occurred evaluating root project 'AltoroJ-AltoroJ-3.3'.

Could not find method compile() for arguments [directory 'WebContent/WEB-INF/lib',

Cause is that the "compile" option in the build.gradle file has been depreciated since Gradle 4.10 and has been removed in Gradle 7

It has been superseded by implementation.

Changing the following line in the build.gradle file seems to resolve the issue:
dependencies {
compile
fileTree(dir:

dependencies {
implementation
fileTree(dir:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant