Skip to content

Commit

Permalink
append local publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
eparovyshnaya committed May 29, 2020
1 parent 4a1c30d commit a8f304b
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ plugins {
group = "ru.arsysop"
version = "0.1"

project.also {
it.description = "Java lang extensions for orthodox OOP coding"
}
repositories {
mavenCentral()
}
Expand Down Expand Up @@ -80,3 +83,39 @@ fun extendManifest(mf: Manifest): Unit {
"Bundle-RequiredExecutionEnvironment" to "JavaSE-1.8"
)
}

publishing {
publications {
repositories {
maven {
url = uri("$buildDir/local-repo")
}
}
register<MavenPublication>("gpr") {
from(components["java"])
pom {
name.set(project.name)
description.set(project.description)
url.set("https://github.com/ArSysOp/lang")
licenses {
license {
name.set("MIT License")
url.set("https://spdx.org/licenses/MIT.html")
}
}
developers {
developer {
id.set("eparovyhsnaya")
name.set("Elena Parovyshnaia")
email.set("[email protected]")
}
}
scm {
connection.set("scm:git:git://github.com/arsysop/lang.git")
developerConnection.set("scm:git:ssh://github.com/arsysop/lang.git")
url.set("https://github.com/arsysop/lang")
}
}
}
}
}

0 comments on commit a8f304b

Please sign in to comment.