This project contains a Gradle plugin which simplifies setting up projects released under Apache License, Version 2.0.
For installation instructions please see this plugin's page on Gradle Plugin Portal.
This plugin adds the following task to the project:
writeLicenseFile
- writes contents of the Apache License, Version 2.0 into a file calledLICENSE
located in the root of the project
This plugin does not add any plugins by default. It does hover apply Idea Project Components plugin if Gradle's built-in IDEA plugin is applied to the project. It then uses that plugin to configure InteliiJ's Copyright plugin to add Apache License, Version 2.0 headers to source files.
This plugin does not add any extensions.
The project is setup to generate IntelliJ configuration files.
Simply run ./gradlew idea
and open the generated *.ipr
file in IntelliJ.
If you import the project into IntelliJ as described above then you can run integration tests even after changing the code without having to perform any manual steps. They are configured to run in an environment matching the one used when running them using Gradle on the command line.
The project contains some code verification tasks aside from tests so if you wish to run a build matching the one on CI then execute ./gradlew check
.