From f8113aac15a4bb6576365766cfe341d589a8ac22 Mon Sep 17 00:00:00 2001 From: tobi5775 Date: Thu, 26 Jan 2023 16:11:13 +0100 Subject: [PATCH] add copyright and license to jar --- COPYRIGHT | 13 +++++++++++++ json-path-assert/build.gradle | 5 +++++ json-path-web-test/build.gradle | 5 +++++ json-path/build.gradle | 5 +++++ 4 files changed, 28 insertions(+) create mode 100644 COPYRIGHT diff --git a/COPYRIGHT b/COPYRIGHT new file mode 100644 index 000000000..3da21cd78 --- /dev/null +++ b/COPYRIGHT @@ -0,0 +1,13 @@ +Copyright 2017 Jayway + +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +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 diff --git a/json-path-assert/build.gradle b/json-path-assert/build.gradle index e0cc97105..31eee559f 100644 --- a/json-path-assert/build.gradle +++ b/json-path-assert/build.gradle @@ -2,6 +2,11 @@ description = "Assertions on Json using JsonPath" jar { + from('../') { + include 'LICENSE' + include 'COPYRIGHT' + } + baseName 'json-path-assert' bnd ( 'Implementation-Title': 'json-path-assert', 'Implementation-Version': version diff --git a/json-path-web-test/build.gradle b/json-path-web-test/build.gradle index a708daf64..75df8b7b3 100644 --- a/json-path-web-test/build.gradle +++ b/json-path-web-test/build.gradle @@ -17,6 +17,11 @@ task createBuildInfoFile { } jar { + from('../') { + include 'LICENSE' + include 'COPYRIGHT' + } + dependsOn createBuildInfoFile baseName 'json-path-web-test' bnd ( diff --git a/json-path/build.gradle b/json-path/build.gradle index cc89e17be..a60a70329 100644 --- a/json-path/build.gradle +++ b/json-path/build.gradle @@ -2,6 +2,11 @@ description = "Java port of Stefan Goessner JsonPath." jar { + from('../') { + include 'LICENSE' + include 'COPYRIGHT' + } + baseName 'json-path' bnd ( 'Implementation-Title': 'json-path', 'Implementation-Version': version,