diff --git a/LICENSE b/LICENSE index 7a4a3ea..0add43f 100644 --- a/LICENSE +++ b/LICENSE @@ -187,7 +187,8 @@ same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright [yyyy] [name of copyright owner] + Copyright 2016 Luciad + Copyright 2022 Mateusz Kwieciński Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -199,4 +200,4 @@ distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and - limitations under the License. \ No newline at end of file + limitations under the License. diff --git a/NOTICE b/NOTICE new file mode 100644 index 0000000..c1190cd --- /dev/null +++ b/NOTICE @@ -0,0 +1,8 @@ +Luciad WebP Image I/O support library +Copyright 2016 Luciad + +This product includes software developed at +Luciad (http://www.luciad.com). + +Credits to Gauthier Roebroeck for creating necessary setup to build native libwebp binaries +Copyright 2022 Mateusz Kwieciński diff --git a/gradle/plugins/src/main/kotlin/PublishingPlugin.kt b/gradle/plugins/src/main/kotlin/PublishingPlugin.kt index 7259930..a8bb72e 100644 --- a/gradle/plugins/src/main/kotlin/PublishingPlugin.kt +++ b/gradle/plugins/src/main/kotlin/PublishingPlugin.kt @@ -5,6 +5,7 @@ import org.gradle.api.plugins.JavaPluginExtension import org.gradle.api.publish.PublishingExtension import org.gradle.api.publish.maven.MavenPublication import org.gradle.jvm.tasks.Jar +import org.gradle.language.jvm.tasks.ProcessResources import org.gradle.plugins.signing.SigningExtension import org.jetbrains.dokka.gradle.DokkaTask @@ -30,6 +31,10 @@ class PublishingPlugin : Plugin { tasks.named("javadocJar", Jar::class.java) { javadocJar -> javadocJar.from(tasks.named("dokkaJavadoc")) } + tasks.named("processResources", ProcessResources::class.java) { processResources -> + processResources.from(rootProject.file("NOTICE")) + processResources.from(rootProject.file("LICENSE")) + } } extensions.configure {