beehive-lab / TornadoVM

TornadoVM: A practical and efficient heterogeneous programming framework for managed languages
https://www.tornadovm.org
Apache License 2.0
1.19k stars 114 forks source link

Gradle issue #232

Closed offeex closed 1 year ago

offeex commented 1 year ago

Hello, why i can't import TornadoVM with gradle? I imported it's jar files with intellij, here's the error i get image

I would like to have a way to set TornadoVM in gradle

jjfumero commented 1 year ago

Hi @offeex . TornadoVM is built using maven. If you want to use another build system you need to also build the dependencies. We get the API from a copy of all JAR files we have in GitHub.

The Maven dependency is as follows:

<repositories>
    <repository>
        <id>universityOfManchester-graal</id>
        <url>https://raw.githubusercontent.com/beehive-lab/tornado/maven-tornadovm</url>
    </repository>
</repositories>

<dependencies>
<dependency>
    <groupId>tornado</groupId>
    <artifactId>tornado-api</artifactId>
    <version>0.15</version>
</dependency>
<dependency>
    <groupId>tornado</groupId>
    <artifactId>tornado-matrices</artifactId>
    <version>0.15</version>
</dependency>
</dependencies>

And all JAR files are stored here: https://github.com/beehive-lab/TornadoVM/tree/maven-tornadovm

jjfumero commented 1 year ago

I close this issue since this build process is not the one TornadoVM has.