File tree Expand file tree Collapse file tree 5 files changed +37
-0
lines changed
Expand file tree Collapse file tree 5 files changed +37
-0
lines changed Original file line number Diff line number Diff line change 11android.enableJetifier =true
22android.useAndroidX =true
33org.gradle.jvmargs =-Xmx2048M
4+
5+ # SONATYPE_HOST=DEFAULT
6+ # or when publishing to https://s01.oss.sonatype.org
7+ SONATYPE_HOST =S01
8+ RELEASE_SIGNING_ENABLED =true
9+ POM_ARTIFACT_ID =chart
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ find . -name ' *.gpg' | xargs rm
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
2+
3+ if [[ -z " $CRYPT_PASS " ]]
4+ then
5+ read -sp ' Password: ' CRYPT_PASS
6+ if [[ -z " $CRYPT_PASS " ]]
7+ then
8+ echo " \$ CRYPT_PASS Still empty"
9+ exit 1
10+ fi
11+ else
12+ echo " \$ CRYPT_PASS available"
13+ fi
14+
15+ pushd signing
16+
17+ # to encrypt
18+ # openssl aes-256-cbc -salt -pbkdf2 -salt -k "$CRYPT_PASS" -in secring.gpg -out secring.gpg.enc
19+ # openssl aes-256-cbc -salt -pbkdf2 -salt -k "$CRYPT_PASS" -in gradle_secure.properties -out gradle_secure.properties.enc
20+
21+ # Ubuntu 18.04 (openssl 1.1.0g+) needs -md md5
22+ # https://askubuntu.com/questions/1067762/unable-to-decrypt-text-files-with-openssl-on-ubuntu-18-04/1076708
23+ echo " decrypt secring.gpg"
24+ openssl aes-256-cbc -d -salt -pbkdf2 -k " $CRYPT_PASS " -in secring.gpg.enc -out secring.gpg
25+ echo " decrypt gradle_secure.properties"
26+ openssl aes-256-cbc -d -salt -pbkdf2 -k " $CRYPT_PASS " -in gradle_secure.properties.enc -out gradle_secure.properties
27+
28+ popd 1> /dev/null
You can’t perform that action at this time.
0 commit comments