Skip to main content

Getting Started

Requirements

  • You need Java JRE installed (Java 17 or later).

  • To use the plugin you need Gradle version 8.8 or later.

Recommended Gradle Version

For optimal performance and to enable all Gradle cache properties, it is recommended to use Gradle 8.14.3 or higher.

Using the plugin

To start you need to create a directory for the project, then you should add a build.gradle file with following content into your build.gradle file.

Gradle Plugin Portal Version

plugins {
id 'co.com.bancolombia.cleanArchitecture' version '3.24.0'
}

Then you can list the tasks available with the command:

gradle tasks

You can follow one of the next steps to create a quick start project with commands

Quick Start

mkdir scaffold-quick-start
cd scaffold-quick-start
echo "plugins {
id 'co.com.bancolombia.cleanArchitecture' version '3.24.0'
}" > build.gradle
gradle ca --name=ScaffoldQuickStart
./gradlew gep --type webflux
./gradlew bootRun

Then open your browser and go to http://localhost:8080/api/usecase/path and it will reply with an empty string, to change the response you can modify the Handler class in the entry-points/reactive-web

Tasks

The Scaffolding Clean Architecture plugin will allow you the next tasks: