/module-ballerina-config

Ballerina config Module

Primary LanguageBallerinaApache License 2.0Apache-2.0

Ballerina Config Library

Build Daily build GitHub Last Commit License

The config library is one of the standard library modules of the Ballerina language.

This module provides the interface and functionality to read configurations from environment variables, TOML files, and command-line parameters and build a consolidated set of configurations.

For more information go to The Config Module.

For example demonstrations of the usage, go to Ballerina By Examples.

Building from the Source

Setting Up the Prerequisites

Download and install Java SE Development Kit (JDK) version 8 (from one of the following locations).

  • Oracle

  • OpenJDK

    Note: Set the JAVA_HOME environment variable to the path name of the directory into which you installed JDK.

Building the Source

Execute the commands below to build from source.

  1. To build the library:

     ./gradlew clean build
    
  2. To debug the tests:

     ./gradlew clean build -PdebugBallerina=<port>
    
  3. To build the module without the tests:

     ./gradlew clean build -PskipBallerinaTests
    

Contributing to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

You can also check for open issues that interest you. We look forward to receiving your contributions.

For more information, go to the contribution guidelines.

Code of Conduct

All contributors are encouraged to read the Ballerina Code of Conduct.

Useful Links