To contribute, use GitHub Pull Requests (PRs), from your own fork.
Also, make sure you have set up your Git authorship correctly:
git config --global user.name "Your Full Name"
git config --global user.email [email protected]
If you use different computers to contribute, please make sure the name is the same on all your computers.
We use this information to acknowledge your contributions in release announcements.
All submissions need to be reviewed before being merged. When you are ready with your contributions, open a Pull Request, assign the PR to yourself and add one of the project members (or benedekh) as a reviewer. Make sure that the CI build is running without errors. Finally, fix the findings of the reviewer if there are any.
- Install Git and configure your GitHub access.
- Install a Java SDK (e.g. Eclipse Temurin) with compliance level Java 11 at least.
- Set the
JAVA_HOME
environment variable to the installation directory of the Java SDK.
- Set the
- Install IntelliJ IDEA (Community Edition is enough).
- Install the detekt plugin in IntelliJ.
- Make sure to disable the grouped imports (e.g.
import java.util.*
) in IntelliJ:- Go to
Preferences -> Editor -> Code Style -> Java -> Imports
and:- set
Use single name import
toAlways
. - set
Class count to use import with '*'
to99999
. - set
Names count to use static import with '*'
to99999
. - unselect all packages in the
Packages to Use Import with '*'
list. - unselect all packages in the
Import Layout
list.
- set
- Go to
Preferences -> Editor -> Code Style -> Java -> Imports
and:- select
Use single name import
atTop-Level Symbols
. - select
Use single name import
atJava Statics and Enum Members
. - unselect all packages in the
Packages to Use Import with '*'
list. - unselect all packages in the
Import Layout
list.
- select
- Go to
- Clone the repository and open it in IntelliJ.
- Make sure to use the Java SDK you installed in step 2. Set it in
File -> Project Structure -> Project -> Project SDK
. - Make sure to use Java 11 as the language level. Set it in
File -> Project Structure -> Project -> Project language level
. - Develop your code.
- Build and test the project with
./gradlew build
(orgradlew.bat build
on Windows). - Fix any findings of the static code analysis tool (detekt).
- Fix any failing tests.
- Install Git and configure your GitHub access.
- Install a Java SDK (e.g. Eclipse Temurin) with compliance level Java 11 at least.
- Set the
JAVA_HOME
environment variable to the installation directory of the Java SDK.
- Set the
- Install Gradle.
- Clone the repository and open it in your favourite IDE.
- Develop your code.
- Build and test the project with
./gradlew build
(orgradlew.bat build
on Windows). - Fix any findings of the static code analysis tool (detekt).
- Fix any failing tests.