Skip to content

Installation

Maven

To add Bonsai to your Maven project, include the following dependency in your pom.xml file:

<dependency>
    <groupId>com.phonepe.commons</groupId>
    <artifactId>bonsai-core</artifactId>
    <version>${bonsai.version}</version>
</dependency>

Replace ${bonsai.version} with the latest version of Bonsai. You can find the latest version on Maven Central.

Gradle

To add Bonsai to your Gradle project, include the following dependency in your build.gradle file:

implementation 'com.phonepe.commons:bonsai-core:${bonsai.version}'