Skip to content

Commit

Permalink
SAMZA-1593: Upgrade gradle nexus plugin.
Browse files Browse the repository at this point in the history
Current nexus plugin which samza repository is using is not compatible with the gradle versions greater than 3.0.

For doing the ligradle migration at linkedin, we need to update the nexus gradle plugin to the latest version.

Author: Shanthoosh Venkataraman <svenkataraman@linkedin.com>

Reviewers: Xinyu Liu <xinyuliu.us@gmail.com>

Closes apache#426 from shanthoosh/master
  • Loading branch information
shanthoosh authored and atoomula committed Mar 27, 2018
1 parent a245d9c commit f4455e9
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle/buildscript.gradle
Expand Up @@ -27,5 +27,5 @@ repositories {

dependencies {
classpath 'de.obqo.gradle:gradle-lesscss-plugin:1.0-1.3.3'
classpath 'org.gradle.api.plugins:gradle-nexus-plugin:0.7.1'
classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1'
}
11 changes: 7 additions & 4 deletions gradle/release.gradle
Expand Up @@ -55,17 +55,20 @@ task sourceRelease(type: Tar) {
// Publishing to Apache's Maven repository (Nexus). To test this locally, set
// repositoryUrl and snapshotRepositoryUrl below to 'file://localhost/tmp/myRepo'
subprojects {
apply plugin: 'nexus'
apply plugin: 'com.bmuschko.nexus'

nexus {
attachSources = true
attachTests = false
attachJavadoc = true
sign = true
repositoryUrl = 'https://repository.apache.org/service/local/staging/deploy/maven2'
snapshotRepositoryUrl = 'https://repository.apache.org/content/repositories/snapshots'
}

extraArchive {
sources = true
tests = false
javadoc = true
}

modifyPom {
project {
name 'Apache Samza'
Expand Down

0 comments on commit f4455e9

Please sign in to comment.