Skip to content

Commit

Permalink
#2: Fix release artifacts' maven coordinates
Browse files Browse the repository at this point in the history
 - make `Bundle-Plugin` human readable
  • Loading branch information
eparovyshnaya committed Jun 13, 2020
1 parent e9d9325 commit 776fde6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 4 additions & 6 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ plugins {
group = "ru.arsysop.lang"
version = "0.1"

project.also {
it.description = "Java lang extensions for orthodox OOP coding"
}
repositories {
mavenCentral()
}
Expand Down Expand Up @@ -75,10 +72,11 @@ tasks.getByName("sourcesJar") {

fun extendManifest(mf: Manifest) {
val copyright: String by project
val bundle: String by project
mf.attributes(
"Bundle-ManifestVersion" to "2",
"Bundle-SymbolicName" to "ru.arsysop.lang",
"Bundle-Name" to "ru.arsysop.lang",
"Bundle-Name" to bundle,
"Bundle-Version" to project.version,
"Bundle-Vendor" to "ArSysOp",
"Bundle-RequiredExecutionEnvironment" to "JavaSE-1.8",
Expand All @@ -100,8 +98,8 @@ publishing {
register<MavenPublication>("gpr") {
from(components["java"])
pom {
name.set(project.name)
description.set(project.description)
val explanation: String by project
description.set(explanation)
url.set("https://github.com/ArSysOp/lang")
licenses {
license {
Expand Down
2 changes: 2 additions & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
##

copyright = Copyright (c) 2020 ArSysOp and others. This program and the accompanying materials are made available under the terms of the MIT License which is available at https://spdx.org/licenses/MIT.html. SPDX-License-Identifier: MIT
bundle = ArSysOp Lang
explanation = Java lang extensions for orthodox OOP coding

0 comments on commit 776fde6

Please sign in to comment.