Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
paulomeurerzup edited this page Jan 14, 2021 · 13 revisions

Gradle is an open-source build automation tool focused on flexibility and performance. Learn more about gradle in documentation

Here are some gradle tasks that are executed by CI process:

detekt

Detekt is a tool that performs static code analysis on top of kotlin language. It operates using syntactic tree provided for kotlin compiler. It basically has a set of rules defined to find non-standard code snippets, such as excessive number of lines in methods, excessive number of methods in classes, annotations of the type suppression etc. This helps to keep the code standardized and without possible syntax errors. More about detekt can be found in the documentation

Detekt task is executed in a lane called pull_request_verification

test

Test is a task defined by the gradle that executes the test codes created with JUnit or TestNG, as in the project we use JUnit, these will be executed. This task to be performed is extremely important because it ensures that before the generation of any artifact, unit tests are performed and verified to ensure that no code changes have broken any business rules or routine. More about this task can be found in the documentation

Maven Publish

Official documentation

Gradle plugin that creates an uploadArchives task to automatically upload all of your Java, Kotlin or Android libraries to any Maven instance.