Build Failure for Graph-data-science project

Hey,
I am following the Installation - Neo4j Graph Data Science to setup Graph-data-science project but while building the project through gradle facing build failure issues.

Documentation followed to build the project : GitHub - neo4j/graph-data-science: Source code for the Neo4j Graph Data Science library of graph algor

Steps Taken to build the project:

  1. Cloned the project from git.(GitHub - neo4j/graph-data-science: Source code for the Neo4j Graph Data Science library of graph algor).
  2. Done project setup in intellij by skimpily opening the cloned project .
  3. Trying to build the Project using gradlew check command but build got fail .

Please refer the below logs:
Missing header in: alpha\alpha-algo\src\test\java\org\neo4j\graphalgo\impl\spanningTree\MyPrimTest.java

Task :alpha-algo:licenseTest FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':alpha-algo:licenseTest'.

License violations were found: C:\VCM_rle\neo4jgdslibrary\alpha\alpha-algo\src\test\java\org\neo4j\graphalgo\impl\spanningTree\MyPrimTest.java

Version Information :
Neo4j Desktop version : 4,2,1
Graph Data Science Library- 1.4.1
Java : 14
gradle : 6.6.1

Both java and gradle are already set in System Settings -> Environmental Variables.

Please guide me out to solve this.

This is a duplicate from the issue at GitHub Build Failure for Graph-data-science project · Issue #126 · neo4j/graph-data-science · GitHub.
I hope my answer on GitHub is helpful.

I dont mind discussing at any of these two platforms, just be aware of the duplication.