Using Java & Python Configuration Files

Similar to Node.js modules, the Platform provides a number of Java libraries and Python packages. These artifacts are to be retrieved from the DecisionBrain repositories, whose names are defined in the NEXUS_GENE_URL variable (resp. NEXUS_GENE_PYPI_URL and NEXUS_DBOS_PYPI_URL) in the project gradle.properties file. These variables are set to the proper values by the Application Generator, and are used by the Gradle build scripts also generated.

However, these repositories require authentication. To this end, you should define the two following variables in your personal $HOME/.gradle/gradle.properties file.

NEXUS_GENE_USER=<user from the installation credentials>
NEXUS_GENE_PASSWORD=<password from the installation credentials>

Using the gradle.properties file located in your personal $HOME/.gradle directory is preferred, as it avoids the credentials to be committed in your versioning system.