Skip to content
Permalink
Browse files

Added gpg keyring as encrypted file

  • Loading branch information...
sksamuel committed Jan 27, 2019
1 parent efb9ec3 commit 9c2043bc439f82801aaa02ba9fd57620b021b040
Showing with 2 additions and 8 deletions.
  1. +1 −2 .travis.yml
  2. +0 −5 build.gradle
  3. +1 −1 gradle.properties
  4. BIN sksamuel.gpg.enc
@@ -6,8 +6,7 @@ jdk:
sudo: false

before_install:
- openssl aes-256-cbc -K $encrypted_1aa081e50934_key -iv $encrypted_1aa081e50934_iv -in all.gpg.enc -out all.gpg -d
- gpg --import all.gpg
- openssl aes-256-cbc -K $encrypted_1aa081e50934_key -iv $encrypted_1aa081e50934_iv -in sksamuel.gpg.enc -out sksamuel.gpg -d

before_cache:
- rm -f $HOME/.gradle/caches/modules-2/modules-2.lock
@@ -2,7 +2,6 @@ buildscript {
ext.kotlin_version = '1.3.20'
ext.isTravis = System.getProperty("TRAVIS") == "true"
ext.travisBuildNumber = System.getProperty("TRAVIS_BUILD_NUMBER")
ext.isReleaseVersion = !version.endsWith("SNAPSHOT")
repositories {
mavenCentral()
}
@@ -74,10 +73,6 @@ allprojects {
sign configurations.archives
}

tasks.withType(Sign) {
onlyIf { isReleaseVersion }
}

uploadArchives {
repositories {
mavenDeployer {
@@ -1,7 +1,7 @@
#these should be overriden if you want to do release
signing.keyId=xx
signing.password=xx
signing.secretKeyRingFile=~/.gnupg/secring.gpg
signing.secretKeyRingFile=sksamuel.gpg

ossrhUsername=xx
ossrhPassword=xx
BIN +2.53 KB sksamuel.gpg.enc
Binary file not shown.

0 comments on commit 9c2043b

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