jason-lang / jason

Jason is a fully-fledged interpreter for an extended version of AgentSpeak, a BDI agent-oriented logic programming language.
http://jason-lang.github.io
GNU Lesser General Public License v3.0
217 stars 67 forks source link

Installation with Gradle fails #98

Closed Eugleo closed 1 year ago

Eugleo commented 2 years ago

I followed the instructions from here, but I get the following error:

> gradle -b np30.gradle --console=plain

FAILURE: Build failed with an exception.

* Where:
Build file '/Users/eugen/dev/university/multiagent-systems-nail106/np30.gradle' line: 16

* What went wrong:
A problem occurred evaluating root project 'multiagent-systems-nail106'.
> Could not find method compile() for arguments [{group=org.jason, name=jason, version=3.0-SNAPSHOT}] 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 8.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

See https://docs.gradle.org/7.4.1/userguide/command_line_interface.html#sec:command_line_warnings

BUILD FAILED in 287ms

Any idea what might be wrong?

jomifred commented 2 years ago

thanks for reporting this bug. This gradle instructions was prepared for gradle 6.x, the current version of gradle (>7) seems to not work. I am working on a fix for that.

jomifred commented 2 years ago

Hi Eugleo, I just update the instructions to use Jason 3.1 where this issue is fixed. Please, let me know if it works for you.