Skip to content

Commit

Permalink
Merge pull request #87 from umangmathur92/maven-deployment-script-bugfix
Browse files Browse the repository at this point in the history
Maven deployment script bugfix
  • Loading branch information
nabla-c0d3 authored Apr 6, 2021
2 parents 5202b47 + 6fd1eef commit 1fdaaa2
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ allprojects {
}
apply plugin: 'maven'
apply plugin: 'maven-publish'
}:
}


ext{
Expand Down
9 changes: 9 additions & 0 deletions deploymentScripts/publish-mavencentral.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ group = PUBLISH_GROUP_ID
// 'version' = version of the artifact (.aar file) being published
version = PUBLISH_VERSION

// Set all the variables to a dummy empty string to enable project sync and build without the publication values set up
// Useful for contributors to the open-source project who don't have MavenCentral deployment credentials in the local.properties file
ext["signing.keyId"] = ''
ext["signing.password"] = ''
ext["signing.secretKeyRingFile"] = ''
ext["ossrhUsername"] = ''
ext["ossrhPassword"] = ''
ext["sonatypeStagingProfileId"] = ''

/*
Read attributes from the 'local.properties' file placed inside project root (Not in version control)
'local.properties' should contain the following attributes for the deployment to succeed:
Expand Down

0 comments on commit 1fdaaa2

Please sign in to comment.