Skip to content
Permalink
Browse files

Modify build script to resolve undefined credential properties

  • Loading branch information...
jeffpasternack committed Dec 19, 2018
1 parent 2267a30 commit 5b562ae5d9329ed47d4e41641fe0af8e2149cbd1
Showing with 27 additions and 2 deletions.
  1. +2 −2 build.gradle
  2. +25 −0 gradle.properties
@@ -79,11 +79,11 @@ uploadArchives {
beforeDeployment { MavenDeployment deployment -> signing.signPom(deployment) }

repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
authentication(userName: findProperty('ossrhUsername'), password: findProperty('ossrhPassword'))
}

snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
authentication(userName: ossrhUsername, password: ossrhPassword)
authentication(userName: findProperty('ossrhUsername'), password: findProperty('ossrhPassword'))
}

pom.project {
@@ -0,0 +1,25 @@
#-------------------------------------------------------------
#For details on recommended settings, see go/gradle.properties
#-------------------------------------------------------------

#long-running Gradle process speeds up local builds
#to stop the daemon run 'ligradle --stop'
org.gradle.daemon=true

#configures only relevant projects to speed up the configuration of large projects
#useful when specific project/task is invoked e.g: ligradle :cloud:cloud-api:build
org.gradle.configureondemand=true

#Gradle will run tasks from subprojects in parallel
#Higher CPU usage, faster builds
org.gradle.parallel=true

#Allows generation of idea/eclipse metadata for a specific subproject and its upstream project dependencies
ide.recursive=true

signing.keyId=
signing.password=
signing.secretKeyRingFile=

sonatypeUsername=
sonatypePassword=

0 comments on commit 5b562ae

Please sign in to comment.
You can’t perform that action at this time.