From 796b73db23e9b0e911b810d56b48899a07102265 Mon Sep 17 00:00:00 2001 From: objectProgrammer <56203535+objectprogrammer@users.noreply.github.com> Date: Thu, 31 Dec 2020 20:31:06 +0100 Subject: [PATCH] Added Classpath Exception to the LICENSE to allow for any license being used in dependents. --- LICENSE | 37 +++++++++++++++++++++++++------------ README.md | 6 ++++++ 2 files changed, 31 insertions(+), 12 deletions(-) diff --git a/LICENSE b/LICENSE index a3dbdca..3a548fe 100644 --- a/LICENSE +++ b/LICENSE @@ -1,15 +1,28 @@ - BytecoderGradle: A Gradle Plugin to compile Bytecoder programs. - Copyright (C) 2019 objectProgrammer +BytecoderGradle: A Gradle plugin to compile Bytecoder programs. +Copyright (C) 2020 objectProgrammer - This program is free software: you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation, either version 3 of the License, or - (at your option) any later version. +This program is free software: you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. - You should have received a copy of the GNU General Public License - along with this program. If not, see . \ No newline at end of file +You should have received a copy of the GNU General Public License +along with this program. If not, see . + +CLASSPATH EXCEPTION + +As a special exception, the copyright holders of this library give you +permission to link this library with independent modules to produce an +executable, regardless of the license terms of these independent modules, +and to copy and distribute the resulting executable under terms of your +choice, provided that you also meet, for each linked independent module, +the terms and conditions of the license of that module. An independent +module is a module which is not derived from or based on this library. If +you modify this library, you may extend this exception to your version of +the library, but you are not obligated to do so. If you do not wish to do +so, delete this exception statement from your version. \ No newline at end of file diff --git a/README.md b/README.md index 7142241..f5029f4 100644 --- a/README.md +++ b/README.md @@ -58,3 +58,9 @@ bytecoder { escapeAnalysis = false } ``` + +## License + +The plugin itself uses the GPLv3 license, however it also has the Classpath Exception (from the JDK) which allows you to use the library and even embed it in a project with any license. Any changes made to the plugin itself must be open-source. + +Note: this is just a summary and shouldn't be used for legal purposes, read the [LICENSE](LICENSE) file for more information. \ No newline at end of file