Skip to content
Gradle plugin to create a clean application in Java that already works, It follows our best practices!
Java
Branch: master
Clone or download
Latest commit 5b6e5cc Dec 10, 2019

README.md

Scaffolding of Clean Architecture

Gradle plugin to create a java application based on Clean Architecture following our best practices!

Plugin Implementation

To use the plugin you need Gradle version 5 or later, to start add the following section into your build.gradle file.

plugins {
 id "co.com.bancolombia.cleanArchitecture" version "0.33"
}

Tasks

The Scaffolding Clean Architecture plugin will allow you create 1 task (more tasks are comming) :

  1. The cleanArchitecture task will generate a clean architecture structure in your project, this task have three optional parameters; package , type and name.
  • package = <package.we.need>: You can specify the main or default package of your project. Default Value = co.com.bancolombia

  • type = <imperative>: With this parameter the task will generate a POO project. Default Value = imperative

  • name = NameProject: This parameter is going to specify the name of the project. Default Value = cleanArchitecture

gradle cleanArchitecture --package=co.com.bancolombia --type=imperative --name=NameProject

How I can help?

The following functionalities are within the road map of this script:

- Task to generate entry points
- Task to generate driven adapters
- Task to generate models
- Task to generate usecase
You can’t perform that action at this time.