Closed frank-zsy closed 1 year ago
Hi @frank-zsy thank you for using the library and reporting this issue, we have been doing some module restructuring which seems to be affecting you, sorry about that.
You will need to add a compile dependency to your build.gradle
compileOnly "org.neo4j.gds:core-write$gdsVersion"
Please give this a try and let us know if the problem still exists.
@frank-zsy please check this PR https://github.com/X-lab2017/openrank-neo4j-gds/pull/2 it should allow you to update to GDS 2.4.2
@vnickolov Great thanks for the PR, all works fine with the update. Should I add a PR to add the missing dependencies in the Pregel bootstrap project in 2.4 branch?
We will check the dependencies for Pregel at our end, really sorry for the inconvenience. I am closing this for now, please get in touch if you have any issues or comments.
Just checked, and it seems correct on the GDS 2.4 branch, see https://github.com/neo4j/graph-data-science/blob/2.4/examples/pregel-bootstrap/build.gradle
@vnickolov I do not see core-write
in the 2.4 branch's build.gradle file. Actually that is why I encounter the error.
Good point, we'll make sure that is there, thank you again 🙇
@frank-zsy here is the test as discussed https://github.com/neo4j/graph-data-science/commit/f583d62ddecf21e0bc56dd16e86918b6cc7b7e77 🙂
Describe the bug
I have developed a Pregel-based custom procedure and have released for several times, up to GDS 2.3.3.
And recently I tried to update the GDS to 2.4.0 which has a better GDS graph project interface. I use Gradle 8.1.1 and change the
gdsVersion
to2.4.0
in thebuild.gradle
file, and also added few new dependencies according to the bootstrap project.But I got an error as below when I am building the plugin:
The error is in the auto generated files and I have noticed that
org.neo4j.gds.core.write.*
has been removed in 2.4.x now.How can I build a plugin with GDS 2.4.0 and is there anything wrong in my steps.
To Reproduce
gradlew
,build.gradle
,gradlew.bat
according to current bootstrap projectgdsVerion
from2.3.3
to2.4.0
in thebuild.gradle
filegradle test
to run the unit test./gradlew clean build
to build the binary fileGDS version: 2.4.0 Neo4j version: 5.6.0 Operating system: MacOS
Steps to reproduce the behavior:
Expected behavior
Successfully build a custom plugin with GDS 2.4.0
Additional context