commercetools / commercetools-paypal-plus-integration

Integration between commercetools API and PayPal Plus API
Apache License 2.0
7 stars 1 forks source link

[Hacktoberfest] Add spotless for code formatting #205

Open lojzatran opened 3 years ago

lojzatran commented 3 years ago

Situation

There are different contributors for commercetools-paypal-plus-integration and every contributor has a different code style.

Problem

commercetools-paypal-plus-integration should have consistent code style. Consistent code style should be enforced automatically and code should be reformat on push OR push/build should fail when code style is not consistent.

Solution

Use spotless gradle plugin to enforce consistent code style. Check other repo where spotless is already integrated.

amolbotre769 commented 2 years ago

Hi @lojzatran can you help me to integrate paypal plus with commercetools as I am a new learner. I read the document but I am not able to understand what steps to do and follow.

lojzatran commented 2 years ago

Hi @amolbotre769

Thank you for your interest in this task.

You don't have to do the integration in order to complete this task. The main goal of this task is to add the spotless plugin into gradle build process. It's enough if you build the project skipping the tests gradle build -x test and spotless is triggered.