Skip to content

Commit

Permalink
Merge pull request #17 from mbeddr/16-add-a-spdx-compliant-license-or…
Browse files Browse the repository at this point in the history
…ganization-and-scm-information-into-the-created-pom-for-a-published-jdk

#16 add SPDX compliant license, organization and scm information to the generated pom.xml
  • Loading branch information
KemalSoysal authored Dec 16, 2023
2 parents 88f36ec + 82482da commit 9e854bb
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,38 @@ publishing {
}
artifactId distroType
version "${jdk_version}-${jdk_build}"
pom {
licenses {
// official SPDX identifier
// see https://spdx.org/licenses/ for list
license {
name = "GPL-2.0-only"
url = "https://github.com/JetBrains/JetBrainsRuntime/blob/jb${jdk_version}-${jdk_build}/LICENSE"
comments = "GNU GENERAL PUBLIC LICENSE Version 2, June 1991"
distribution = "repo"
}
license {
name = "WITH Classpath-exception-2.0"
url = "https://github.com/JetBrains/JetBrainsRuntime/blob/jb${jdk_version}-${jdk_build}/ADDITIONAL_LICENSE_INFO"
comments = "Oracle Classpath exception 2.0"
distribution = "repo"
}
license {
name = "WITH OpenJDK-assembly-exception-1.0"
url = "https://github.com/JetBrains/JetBrainsRuntime/blob/jb${jdk_version}-${jdk_build}/ASSEMBLY_EXCEPTION"
comments = "OpenJDK Assembly exception 1.0"
distribution = "repo"
}
}
organization {
name = "JetBrains s.r.o"
url = "https://www.jetbrains.com"
}
scm {
tag = "jb${jdk_version}-${jdk_build}"
url = "https://github.com/JetBrains/JetBrainsRuntime.git"
}
}
}
}
}
Expand Down

0 comments on commit 9e854bb

Please sign in to comment.