Skip to content

Commit

Permalink
Merge pull request #6 from onix-labs/main
Browse files Browse the repository at this point in the history
1.0.0-rc9 - Added jar signing.
  • Loading branch information
MrMatthewLayton authored Mar 9, 2021
2 parents 65ff108 + 1f1dac6 commit 81fc061
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
12 changes: 9 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,12 @@ buildscript {
cordapp_vendor_name = 'ONIXLabs'
cordapp_license = 'Apache License, Version 2.0'
cordapp_version_id = 1

cordapp_signing_enabled = true
cordapp_signing_alias = 'cordapp-signer'
cordapp_signing_storetype = 'PKCS12'
cordapp_signing_keystore = getProperty('jar.sign.keystore')
cordapp_signing_password = getProperty('jar.sign.password')
}

repositories {
Expand All @@ -41,7 +47,7 @@ buildscript {
}

group 'io.onixlabs'
version '1.0.0-rc8'
version '1.0.0-rc9'

subprojects {
repositories {
Expand Down Expand Up @@ -97,10 +103,10 @@ task cleanLocal(type: Exec) {

task releaseLocal(type: GradleBuild) {
startParameter = gradle.startParameter.newInstance()
tasks = ['cleanLocal', 'clean', 'build', 'publishToMavenLocal']
tasks = ['clean', 'build', 'publishToMavenLocal']
}

task releasePublic(type: GradleBuild) {
startParameter = gradle.startParameter.newInstance()
tasks = ['cleanLocal', 'clean', 'build', 'publishToMavenLocal', 'publish']
tasks = ['clean', 'build', 'publishToMavenLocal', 'publish']
}
7 changes: 7 additions & 0 deletions onixlabs-corda-bnms-contract/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ cordapp {
}
signing {
enabled = cordapp_signing_enabled
options {
keystore cordapp_signing_keystore
alias cordapp_signing_alias
storepass cordapp_signing_password
keypass cordapp_signing_password
storetype cordapp_signing_storetype
}
}
}

Expand Down
7 changes: 7 additions & 0 deletions onixlabs-corda-bnms-workflow/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,13 @@ cordapp {
}
signing {
enabled = cordapp_signing_enabled
options {
keystore cordapp_signing_keystore
alias cordapp_signing_alias
storepass cordapp_signing_password
keypass cordapp_signing_password
storetype cordapp_signing_storetype
}
}
}

Expand Down

0 comments on commit 81fc061

Please sign in to comment.