Ballerina Config Library
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).
-
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.
-
To build the library:
./gradlew clean build
-
To debug the tests:
./gradlew clean build -PdebugBallerina=<port>
-
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
- Discuss about code changes of the Ballerina project in ballerina-dev@googlegroups.com.
- Chat live with us via our Slack channel.
- Post all technical questions on Stack Overflow with the #ballerina tag.