Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven publication switched to Maven Central. #351

Merged
merged 6 commits into from
Mar 26, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Changed nexus-staging plugin declaration.
  • Loading branch information
VDovidaytis-HORIS committed Mar 25, 2021
commit f92d1682daa2948cd85b4622ee120807045d1e3e
8 changes: 4 additions & 4 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ plugins {
id "org.jetbrains.gradle.plugin.idea-ext" apply false
id "com.jfrog.bintray" apply false
id "com.github.johnrengelman.shadow" apply false
id "io.codearte.nexus-staging"
}

def include_sources_letsPlotJvmCommon = [
Expand Down Expand Up @@ -123,7 +124,7 @@ project.ext["bintraySettings"] = [
js_artifact_version: js_artifact_version,
]

// Maven publication setting
// Maven publication settings
// define local Maven Repository path:
project.ext.localMavenRepository = "$rootDir/.maven-publish-dev-repo"

Expand All @@ -132,10 +133,9 @@ def sonatypeSnapshotUrl = "https://oss.sonatype.org/content/repositories/snapsho
def sonatypeReleaseUrl = "https://oss.sonatype.org/service/local/staging/deploy/maven2/"
project.ext.sonatypeUrl = version.contains('SNAPSHOT') ? sonatypeSnapshotUrl : sonatypeReleaseUrl

apply plugin: 'io.codearte.nexus-staging'

// nexus-staging plugin settings:
nexusStaging {
packageGroup = 'org.jetbrains'
username = project.buildSettings.sonatype.username
password = project.buildSettings.sonatype.password
}
}
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ pluginManagement {
id "org.jetbrains.gradle.plugin.idea-ext" version "$idea_ext_version"
id "com.jfrog.bintray" version "1.8.4"
id "com.github.johnrengelman.shadow" version "5.1.0"
id "io.codearte.nexus-staging" version "0.30.0"
// id "com.moowork.node" version "1.3.1"
//classpath "org.jetbrains.kotlin:kotlin-serialization:$kotlin_version"
}
Expand Down