From 03932f5a112b0946e68a84072d8318b4194e1c57 Mon Sep 17 00:00:00 2001 From: Kazik Pogoda Date: Thu, 9 Jan 2025 12:02:13 +0100 Subject: [PATCH] copyright update (#7) * copyright updated with https link to the original license * no need for copyright in gradle files --- .github/scripts/update-readme-version.sh | 4 ++-- build.gradle.kts | 16 ---------------- gradlew | 2 +- settings.gradle.kts | 16 ---------------- src/commonMain/kotlin/JsonSchema.kt | 2 +- .../kotlin/generator/JsonSchemaGenerator.kt | 2 +- .../kotlin/meta/JsonSchemaAnnotations.kt | 2 +- .../kotlin/serialization/JsonSchemaSerializer.kt | 2 +- src/commonTest/kotlin/JsonSchemaTest.kt | 2 +- .../kotlin/generator/JsonSchemaGeneratorTest.kt | 2 +- .../serialization/JsonSchemaSerializerTest.kt | 2 +- src/commonTest/kotlin/test/BigDecimals.kt | 2 +- src/commonTest/kotlin/test/Money.kt | 2 +- src/commonTest/kotlin/test/TestSupport.kt | 2 +- src/jvmMain/kotlin/BigDecimalSerializer.kt | 2 +- src/jvmTest/kotlin/Package.jvm.kt | 2 +- .../serialization/JavaBigDecimalToSchemaTest.kt | 2 +- src/jvmTest/kotlin/test/Money.jvm.kt | 2 +- src/nonJvmTest/kotlin/Money.nonJvm.kt | 2 +- 19 files changed, 18 insertions(+), 50 deletions(-) diff --git a/.github/scripts/update-readme-version.sh b/.github/scripts/update-readme-version.sh index fcfdc8b..c42cccd 100755 --- a/.github/scripts/update-readme-version.sh +++ b/.github/scripts/update-readme-version.sh @@ -1,13 +1,13 @@ #!/bin/bash # -# Copyright 2024 Kazimierz Pogoda / Xemantic +# Copyright 2024-2025 Kazimierz Pogoda / Xemantic # # 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 +# https://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, diff --git a/build.gradle.kts b/build.gradle.kts index 50d917b..6993a2c 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright 2024-2025 Kazimierz Pogoda / Xemantic - * - * 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. - */ - @file:OptIn(ExperimentalWasmDsl::class, ExperimentalKotlinGradlePluginApi::class) import org.gradle.api.tasks.testing.logging.TestExceptionFormat diff --git a/gradlew b/gradlew index f3b75f3..bde288d 100755 --- a/gradlew +++ b/gradlew @@ -7,7 +7,7 @@ # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # -# https://www.apache.org/licenses/LICENSE-2.0 +# https://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, diff --git a/settings.gradle.kts b/settings.gradle.kts index eba9b31..6f49076 100644 --- a/settings.gradle.kts +++ b/settings.gradle.kts @@ -1,19 +1,3 @@ -/* - * Copyright 2025 Kazimierz Pogoda / Xemantic - * - * 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. - */ - val groupId = "com.xemantic.ai" val name = "xemantic-ai-tool-schema" diff --git a/src/commonMain/kotlin/JsonSchema.kt b/src/commonMain/kotlin/JsonSchema.kt index e9d0d43..3f01c02 100644 --- a/src/commonMain/kotlin/JsonSchema.kt +++ b/src/commonMain/kotlin/JsonSchema.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonMain/kotlin/generator/JsonSchemaGenerator.kt b/src/commonMain/kotlin/generator/JsonSchemaGenerator.kt index c66c1ff..a939b15 100644 --- a/src/commonMain/kotlin/generator/JsonSchemaGenerator.kt +++ b/src/commonMain/kotlin/generator/JsonSchemaGenerator.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonMain/kotlin/meta/JsonSchemaAnnotations.kt b/src/commonMain/kotlin/meta/JsonSchemaAnnotations.kt index 54d381b..85bffed 100644 --- a/src/commonMain/kotlin/meta/JsonSchemaAnnotations.kt +++ b/src/commonMain/kotlin/meta/JsonSchemaAnnotations.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonMain/kotlin/serialization/JsonSchemaSerializer.kt b/src/commonMain/kotlin/serialization/JsonSchemaSerializer.kt index 2803903..709dce1 100644 --- a/src/commonMain/kotlin/serialization/JsonSchemaSerializer.kt +++ b/src/commonMain/kotlin/serialization/JsonSchemaSerializer.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonTest/kotlin/JsonSchemaTest.kt b/src/commonTest/kotlin/JsonSchemaTest.kt index 5360c42..396dd81 100644 --- a/src/commonTest/kotlin/JsonSchemaTest.kt +++ b/src/commonTest/kotlin/JsonSchemaTest.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonTest/kotlin/generator/JsonSchemaGeneratorTest.kt b/src/commonTest/kotlin/generator/JsonSchemaGeneratorTest.kt index 12dab1e..0a74614 100644 --- a/src/commonTest/kotlin/generator/JsonSchemaGeneratorTest.kt +++ b/src/commonTest/kotlin/generator/JsonSchemaGeneratorTest.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonTest/kotlin/serialization/JsonSchemaSerializerTest.kt b/src/commonTest/kotlin/serialization/JsonSchemaSerializerTest.kt index 171a2ff..a1780a0 100644 --- a/src/commonTest/kotlin/serialization/JsonSchemaSerializerTest.kt +++ b/src/commonTest/kotlin/serialization/JsonSchemaSerializerTest.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonTest/kotlin/test/BigDecimals.kt b/src/commonTest/kotlin/test/BigDecimals.kt index 2ed4a94..0342641 100644 --- a/src/commonTest/kotlin/test/BigDecimals.kt +++ b/src/commonTest/kotlin/test/BigDecimals.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonTest/kotlin/test/Money.kt b/src/commonTest/kotlin/test/Money.kt index 0c5da36..b946253 100644 --- a/src/commonTest/kotlin/test/Money.kt +++ b/src/commonTest/kotlin/test/Money.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/commonTest/kotlin/test/TestSupport.kt b/src/commonTest/kotlin/test/TestSupport.kt index 723d27e..368c2aa 100644 --- a/src/commonTest/kotlin/test/TestSupport.kt +++ b/src/commonTest/kotlin/test/TestSupport.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/jvmMain/kotlin/BigDecimalSerializer.kt b/src/jvmMain/kotlin/BigDecimalSerializer.kt index 23c6e65..28a9ba0 100644 --- a/src/jvmMain/kotlin/BigDecimalSerializer.kt +++ b/src/jvmMain/kotlin/BigDecimalSerializer.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/jvmTest/kotlin/Package.jvm.kt b/src/jvmTest/kotlin/Package.jvm.kt index 8c208f1..3668e83 100644 --- a/src/jvmTest/kotlin/Package.jvm.kt +++ b/src/jvmTest/kotlin/Package.jvm.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/jvmTest/kotlin/serialization/JavaBigDecimalToSchemaTest.kt b/src/jvmTest/kotlin/serialization/JavaBigDecimalToSchemaTest.kt index fcc36c8..8301a94 100644 --- a/src/jvmTest/kotlin/serialization/JavaBigDecimalToSchemaTest.kt +++ b/src/jvmTest/kotlin/serialization/JavaBigDecimalToSchemaTest.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/jvmTest/kotlin/test/Money.jvm.kt b/src/jvmTest/kotlin/test/Money.jvm.kt index 25b7900..0a2a44a 100644 --- a/src/jvmTest/kotlin/test/Money.jvm.kt +++ b/src/jvmTest/kotlin/test/Money.jvm.kt @@ -5,7 +5,7 @@ * 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 + * https://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, diff --git a/src/nonJvmTest/kotlin/Money.nonJvm.kt b/src/nonJvmTest/kotlin/Money.nonJvm.kt index 29af958..9e53f88 100644 --- a/src/nonJvmTest/kotlin/Money.nonJvm.kt +++ b/src/nonJvmTest/kotlin/Money.nonJvm.kt @@ -5,7 +5,7 @@ * 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 + * https://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,