Installation

The installation documentation will explain all the different possibilities to install the Sakura Boot log module to build an application with logging facilities.

Prerequisites

See Requirements for prerequisites.

Maven

Maven is recommended for developers who never use both Maven and Gradle.

Predefined dependencies

To install with predefined dependencies for a production-ready application, add one starter to the project dependencies:

This includes the basic functionalities of sakura boot, the necessary spring boot starter, and a runtime postgresql.

<dependency>
    <groupId>org.sansenshimizu.sakuraboot</groupId>
    <artifactId>sakura-boot-starter-predefined-basic</artifactId>
    <version>0.1.1</version>
</dependency>

Custom dependencies

To install with custom dependencies, add one starter to the project dependencies:

This includes only the basic functionalities of sakura boot.

<dependency>
    <groupId>org.sansenshimizu.sakuraboot</groupId>
    <artifactId>sakura-boot-starter-basic</artifactId>
    <version>0.1.1</version>
</dependency>

Customisation

For more fine-grained control over dependencies, import directly from the log module and don’t use starters:

This includes the log module with the core of sakura boot and only necessary dependencies (e.g., spring-core, etc).

<dependency>
    <groupId>org.sansenshimizu.sakuraboot</groupId>
    <artifactId>sakura-boot-log</artifactId>
    <version>0.1.1</version>
</dependency>

Gradle

Predefined dependencies

To install with predefined dependencies for a production-ready application, add one starter to the project dependencies:

This includes the basic functionalities of sakura boot, the necessary spring boot starter, and a runtime postgresql.

implementation("org.sansenshimizu.sakuraboot:sakura-boot-starter-predefined-basic:0.1.1")

Custom dependencies

To install with custom dependencies, add one starter to the project dependencies:

This includes only the basic functionalities of sakura boot.

implementation("org.sansenshimizu.sakuraboot:sakura-boot-starter-basic:0.1.1")

Customisation

For more fine-grained control over dependencies, import directly from the log module and don’t use starters:

This includes the log module with the core of sakura boot and only necessary dependencies (e.g., spring-core, etc).

implementation("org.sansenshimizu.sakuraboot:sakura-boot-log:0.1.1")