diff --git a/build.gradle.kts b/build.gradle.kts index a0a80fe..3dd3cd5 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -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() } @@ -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", @@ -100,8 +98,8 @@ publishing { register("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 { diff --git a/gradle.properties b/gradle.properties index f09eb77..880d823 100644 --- a/gradle.properties +++ b/gradle.properties @@ -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 \ No newline at end of file