License Generator IntelliJ Plugin
Introduction
License Generator is an IntelliJ Idea plugin that allows you to easily add one of your open source licenses to your project.
It supports following Jetbrains IDEs:
- Android Studio,
- CLion,
- DataGrip,
- GoLand,
- IntelliJ IDEA Ultimate,
- IntelliJ IDEA Community,
- IntelliJ IDEA Educational,
- MPS,
- AppCode,
- PhpStorm,
- PyCharm Professional,
- PyCharm Community,
- PyCharm Educational,
- Rider,
- RubyMine,
- WebStorm
Supported licenses:
- Academic Free License v3.0,
- GNU Affero General Public License v3.0,
- Apache License 2.0,
- BSD 2-Clause "Simplified" License,
- BSD 3-Clause "New" or "Revised" License,
- Common Development and Distribution License v1.0,
- Eclipse Public License 2.0,
- GNU General Public License v2.0,
- GNU General Public License v3.0,
- GNU Lesser General Public License v2.1,
- GNU Lesser General Public License v3.0,
- Mozilla Public License 2.0,
- MIT License,
- The Unlicense
Installation
-
Using IDE built-in plugin system:
-
Preferences
>Plugins
>Marketplace
>Search for "License Generator"
>Install Plugin
-
Restart IDE.
-
-
Manually:
-
Download the latest release and install it manually using
Preferences
>Plugins
>Install plugin from disk…
-
Restart IDE.
-
Usage
Changelog
0.0.15 (2022-02-19)
Compatibility with 2021.3.2
0.0.14 (2021-07-31)
Compatibility with 2021.2
0.0.13 (2021-06-03)
Add more licences (thanks to @Nurul-GC)
-
Academic Free License v3.0
-
Common Development and Distribution License v1.0
0.0.12 (2021-04-29)
Compatibility with 2021.1
0.0.10 (2020-09-14)
java.lang.NoClassDefFoundError: com/github/hypfvieh/util/StringUtil
0.0.9 (2020-07-30)
Compatibility with 2020.2
0.0.8 (2020-04-09)
Compatibility with 2020.1
0.0.7 (2019-11-30)
Support another licence types
-
BSD 2-Clause "Simplified" License
-
BSD 3-Clause "New" or "Revised" License
-
Eclipse Public License 2.0
-
GNU Affero General Public License v3.0
-
GNU General Public License v2.0
-
GNU Lesser General Public License v2.1
-
GNU Lesser General Public License v3.0
-
Mozilla Public License 2.0
-
The Unlicense
0.0.6 (2019-11-30)
Compatibility with 2019.3
0.0.5 (2019-11-13)
Replace year and name of the author parameters when creating Apache License 2.0 or GNU General Public License file.
0.0.4 (2019-11-09)
First release
Contribution
License Agreement
By contributing changes to this repository, you agree to license your contributions under the MIT license. This ensures your contributions have the same license as the project. You also assert that you are the original author of the work that you are contributing unless otherwise stated.
Local Build
This plugin is built using Gradle. If you build or run it the first time it will download the community edition of IntelliJ automatically. You don’t need to install Gradle, you just need to install Java and make it available in the path.
To build this plugin, you need to run:
./gradlew buildPlugin
The ZIP file with plugin to distribute will be located in build/distributions
.
Running the development version locally
To run the plugin for development you’ll need to start
./gradlew runIde
To run all tests and the CheckStyle validations you’ll need to start
./gradlew check