diff --git a/library-definitions/src/main/res/raw/license_cc20.txt b/library-definitions/src/main/res/raw/license_cc_2_0.txt similarity index 100% rename from library-definitions/src/main/res/raw/license_cc20.txt rename to library-definitions/src/main/res/raw/license_cc_2_0.txt diff --git a/library-definitions/src/main/res/raw/license_cc30.txt b/library-definitions/src/main/res/raw/license_cc_3_0.txt similarity index 100% rename from library-definitions/src/main/res/raw/license_cc30.txt rename to library-definitions/src/main/res/raw/license_cc_3_0.txt diff --git a/library-definitions/src/main/res/raw/license_cc40.txt b/library-definitions/src/main/res/raw/license_cc_4_0.txt similarity index 100% rename from library-definitions/src/main/res/raw/license_cc40.txt rename to library-definitions/src/main/res/raw/license_cc_4_0.txt diff --git a/library-definitions/src/main/res/values/license_cc20_strings.xml b/library-definitions/src/main/res/values/license_cc_2_0_strings.xml similarity index 56% rename from library-definitions/src/main/res/values/license_cc20_strings.xml rename to library-definitions/src/main/res/values/license_cc_2_0_strings.xml index 986a0aa17..3b5b303e4 100644 --- a/library-definitions/src/main/res/values/license_cc20_strings.xml +++ b/library-definitions/src/main/res/values/license_cc_2_0_strings.xml @@ -1,13 +1,13 @@ - - Creative Commons 2.0 License - http://creativecommons.org/licenses/by/2.0/legalcode - + + Creative Commons 2.0 License + http://creativecommons.org/licenses/by/2.0/legalcode + - raw:license_cc20 + raw:license_cc_2_0 diff --git a/library-definitions/src/main/res/values/license_cc30_strings.xml b/library-definitions/src/main/res/values/license_cc_3_0_strings.xml similarity index 59% rename from library-definitions/src/main/res/values/license_cc30_strings.xml rename to library-definitions/src/main/res/values/license_cc_3_0_strings.xml index c4d83e589..de511c787 100644 --- a/library-definitions/src/main/res/values/license_cc30_strings.xml +++ b/library-definitions/src/main/res/values/license_cc_3_0_strings.xml @@ -1,13 +1,13 @@ - - Creative Commons 3.0 License - http://creativecommons.org/licenses/by/3.0/legalcode - + + Creative Commons 3.0 License + http://creativecommons.org/licenses/by/3.0/legalcode +
BY EXERCISING ANY RIGHTS TO THE WORK PROVIDED HERE, YOU ACCEPT AND AGREE TO BE BOUND BY THE TERMS OF THIS LICENSE. TO THE EXTENT THIS LICENSE MAY BE CONSIDERED TO BE A CONTRACT, THE LICENSOR GRANTS YOU THE RIGHTS CONTAINED HERE IN CONSIDERATION OF YOUR ACCEPTANCE OF SUCH TERMS AND CONDITIONS. ]]>
- raw:license_cc30 + raw:license_cc_3_0
diff --git a/library-definitions/src/main/res/values/license_cc40_strings.xml b/library-definitions/src/main/res/values/license_cc_4_0_strings.xml similarity index 60% rename from library-definitions/src/main/res/values/license_cc40_strings.xml rename to library-definitions/src/main/res/values/license_cc_4_0_strings.xml index 75d96b986..065a38215 100644 --- a/library-definitions/src/main/res/values/license_cc40_strings.xml +++ b/library-definitions/src/main/res/values/license_cc_4_0_strings.xml @@ -1,9 +1,9 @@ - - Creative Commons 4.0 License - https://creativecommons.org/licenses/by/4.0/legalcode - + + Creative Commons 4.0 License + https://creativecommons.org/licenses/by/4.0/legalcode + - raw:license_cc40 + raw:license_cc_4_0 diff --git a/plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/mapping/License.kt b/plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/mapping/License.kt index 7b20e8641..d62b16a67 100644 --- a/plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/mapping/License.kt +++ b/plugin-build/plugin/src/main/kotlin/com/mikepenz/aboutlibraries/plugin/mapping/License.kt @@ -67,10 +67,10 @@ enum class License(val fullName: String, val id: String, val aboutLibsId: String Caldera("Caldera License", "Caldera"), CATOSL_1_1("Computer Associates Trusted Open Source License 1.1", "CATOSL-1.1"), CC_BY_1_0("Creative Commons Attribution 1.0 Generic", "CC-BY-1.0"), - CC_BY_2_0("Creative Commons Attribution 2.0 Generic", "CC-BY-2.0"), + CC_BY_2_0("Creative Commons Attribution 2.0 Generic", "CC-BY-2.0", "cc_2_0"), CC_BY_2_5("Creative Commons Attribution 2.5 Generic", "CC-BY-2.5"), - CC_BY_3_0("Creative Commons Attribution 3.0 Unported", "CC-BY-3.0"), - CC_BY_4_0("Creative Commons Attribution 4.0 International", "CC-BY-4.0"), + CC_BY_3_0("Creative Commons Attribution 3.0 Unported", "CC-BY-3.0", "cc_3_0"), + CC_BY_4_0("Creative Commons Attribution 4.0 International", "CC-BY-4.0", "cc_4_0"), CC_BY_NC_1_0("Creative Commons Attribution Non Commercial 1.0 Generic", "CC-BY-NC-1.0"), CC_BY_NC_2_0("Creative Commons Attribution Non Commercial 2.0 Generic", "CC-BY-NC-2.0"), CC_BY_NC_2_5("Creative Commons Attribution Non Commercial 2.5 Generic", "CC-BY-NC-2.5"),