Skip to content

Latest commit

 

History

History
 
 

rskj-core

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

rskj-core

Configure the RSK-compatible Gradle local installation

Using a local Gradle installation will be necessary to be able to run ./gradlew commands while avoiding the Error: Could not find or load main class org.gradle.wrapper.GradleWrapperMain error.

Linux and macOS

Run sh configure.sh in the project's root directory.

Windows

Run ./configure.sh in the project's root directory, using Windows 10's git bash. You could also run bash configure.sh under WSL.

Compile, test and package

Run $ ./gradlew build

  • find jar artifacts at build/libs
  • find unit test and code coverage reports at build/reports

Run a RSK node

  • execute the -all jar in build/libs using $ java -jar [jarfile].

Import sources into IntelliJ IDEA

Use IDEA 14 or better and import project based on Gradle sources.

Note that in order to build the project without errors in IDEA, you will need to run gradle antlr4 manually.

Install artifacts into your local ~/.m2 repository

Run ./gradlew install.

Publish rskj-core builds

Simply push to master, and the Jenkins build will take care of the rest.