From d259df3481781d403d6cd583be5490d9f1886984 Mon Sep 17 00:00:00 2001 From: Thierry Roy Date: Mon, 23 Feb 2026 10:14:56 -0500 Subject: [PATCH] Add license to POM file --- plugin/build.gradle | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/plugin/build.gradle b/plugin/build.gradle index 2fe0209..0c74136 100644 --- a/plugin/build.gradle +++ b/plugin/build.gradle @@ -1,6 +1,7 @@ plugins { id "com.gradle.plugin-publish" version "1.3.1" id "java-gradle-plugin" + id "maven-publish" } apply plugin: 'kotlin' @@ -48,3 +49,20 @@ gradlePlugin { } } } + +publishing { + publications { + pluginMaven(MavenPublication) { + pom { + licenses { + license { + name = 'Apache License 2.0' + url = 'https://www.apache.org/licenses/LICENSE-2.0.txt' + distribution = 'repo' + } + } + } + } + } +} +