Skip to content

FatihBozik/license-generator-intellij-plugin

Repository files navigation

License Generator IntelliJ Plugin

License Version 13307 license generator

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

In the Project view, right-click a source directory where you want to create the license file and choose New | License File | MIT License from the context menu.

preview

Changelog

0.0.19 (2024-05-05)

Compatibility with 2024.1

0.0.18 (2024-02-05)

Compatibility with 2023.3

0.0.17 (2023-04-20)

Compatibility with 2023.1

0.0.16 (2022-08-06)

Compatibility with 2022.1.1

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.11 (2020-12-06)

Compatibility with 2020.3

  • Upgrade project Java version to 11

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