KyoriPowered / indra

A set of Gradle plugins to apply common organization build settings.
MIT License
31 stars 6 forks source link

Use spdx as license name and allign with official full names #157

Open rainbowdashlabs opened 1 year ago

rainbowdashlabs commented 1 year ago

I noticed two issues with the license names.

  1. According to the apache documentation it is recommended that the SPDX identifier is used instead of the long name. Indra uses the full license name instead. However many services are check for an SPDX identifier as the license name and might fail to recognize the license if it is not an SPDX and not the official License name as mentioned in point 2
  2. Some license names are not equal to their official full name.

Cases for 2:

  1. Apache License, Version 2.0 -> Apache License 2.0
  2. GNU General Public License version 3 -> GNU General Public License v3.0 only
  3. GNU General Public License version 3 or later -> GNU General Public License v3.0 or later
  4. GNU Lesser General Public License version 3 -> GNU Lesser General Public License v3.0 only
  5. GNU Lesser General Public License version 3 or later -> GNU Lesser General Public License v3.0 or later
  6. The MIT License -> MIT License

I would like to create a PR that:

  1. Uses the correct official name as defined by SPDX
  2. Uses the SPDX identifier for the license