Skip to content

Commit

Permalink
Merge pull request #777 from JetBrains/feature/add_license_info
Browse files Browse the repository at this point in the history
#720 add a SPDX compliant license and organization into the published mps-extensions pom
  • Loading branch information
alexanderpann authored Feb 22, 2024
2 parents 9c45f68 + 63d082a commit 13dfdf4
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,22 @@ allprojects {
}
}
}

def additionalPomInfo = {
licenses {
// official SPDX identifier
// see https://spdx.org/licenses/ for list
license {
name = "Apache-2.0"
url = "http://www.apache.org/licenses/LICENSE-2.0.txt"
comments = "A business-friendly OSS license"
distribution = "repo"
}
}
organization {
name = "JetBrains s.r.o"
url = "https://www.jetbrains.com"
}
}
publishing {
publications {
extensions(MavenPublication) {
Expand All @@ -338,6 +353,7 @@ publishing {
dependencyNode.appendNode('scope', 'provided')
}
}
pom additionalPomInfo
}
}
}
Expand Down

0 comments on commit 13dfdf4

Please sign in to comment.