diff --git a/trixnity-crypto-core/build.gradle.kts b/trixnity-crypto-core/build.gradle.kts index d72399967eb44c7a039469371c082afb45763a15..c4c9fbdd7eda51742b1e5e928026f7367cfc6627 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 e118ef8c3d3ecace031918991e83e7357bea0839..5b848aec619aeeca0ec53381081def0660db498c 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