From 68b4b95a8f4b556e2718754d8bea8661c205ba12 Mon Sep 17 00:00:00 2001 From: Merlin Volkmer Date: Thu, 23 Oct 2025 13:52:13 +0200 Subject: [PATCH] add license information to projects with binaries --- trixnity-crypto-core/build.gradle.kts | 15 +++++++++++++++ trixnity-olm/build.gradle.kts | 16 ++++++++++++++++ 2 files changed, 31 insertions(+) diff --git a/trixnity-crypto-core/build.gradle.kts b/trixnity-crypto-core/build.gradle.kts index d72399967..c4c9fbdd7 100644 --- a/trixnity-crypto-core/build.gradle.kts +++ b/trixnity-crypto-core/build.gradle.kts @@ -123,4 +123,19 @@ kotlin { } } } +} + +publishing { + publications.withType().configureEach { + pom { + licenses { + license { + // https://github.com/openssl/openssl/blob/master/LICENSE.txt + name = "Apache License 2.0" + url = "https://www.apache.org/licenses/LICENSE-2.0" + comments = "openssl binaries" + } + } + } + } } \ No newline at end of file diff --git a/trixnity-olm/build.gradle.kts b/trixnity-olm/build.gradle.kts index e118ef8c3..5b848aec6 100644 --- a/trixnity-olm/build.gradle.kts +++ b/trixnity-olm/build.gradle.kts @@ -214,4 +214,20 @@ kotlin { } } } +} + +publishing { + publications.withType().configureEach { + pom { + licenses { + license { + // https://gitlab.matrix.org/matrix-org/olm/-/blob/master/LICENSE + // https://gitlab.com/trixnity/trixnity-olm-binaries/-/blob/main/LICENSE + name = "Apache License 2.0" + url = "https://www.apache.org/licenses/LICENSE-2.0" + comments = "libolm binaries" + } + } + } + } } \ No newline at end of file -- GitLab