From a618f8ca4f6228b008af914202a463cefb181720 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 24 Jun 2021 21:17:19 +0100 Subject: [PATCH 1/7] configure maven central publishing --- .gitlab-ci.yml | 2 ++ .../lbry/build/templates/build.tmpl.gradle | 22 +++++++++--------- .../build/templates/build.tmpl.gradle.arm | 22 +++++++++--------- .../lbry/build/templates/gradle.properties | 9 ++++++- signing.pgp | Bin 0 -> 3792 bytes 5 files changed, 32 insertions(+), 23 deletions(-) create mode 100644 signing.pgp diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 500ba17..e26a755 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -14,6 +14,7 @@ build arm64 aar: - bin/lbrysdk-*-release__arm64.aar expire_in: 1 week script: + - export NEXUS_SIGNING_KEYRING_FILE=$CI_PROJECT_DIR/signing.pgp - export PATH=/usr/bin:$PATH - wget -q 'https://eu.crystax.net/download/crystax-ndk-10.3.2-linux-x86_64.tar.xz' -P ~/.buildozer/android/ - tar -xf ~/.buildozer/android/crystax-ndk-10.3.2-linux-x86_64.tar.xz -C ~/.buildozer/android/ @@ -38,6 +39,7 @@ build arm aar: - bin/lbrysdk-*-release__arm.aar expire_in: 1 week script: + - export NEXUS_SIGNING_KEYRING_FILE=$CI_PROJECT_DIR/signing.pgp - export PATH=/usr/bin:$PATH - wget -q 'https://eu.crystax.net/download/crystax-ndk-10.3.2-linux-x86_64.tar.xz' -P ~/.buildozer/android/ - tar -xf ~/.buildozer/android/crystax-ndk-10.3.2-linux-x86_64.tar.xz -C ~/.buildozer/android/ diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle index 455e610..fcac5cd 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle @@ -3,11 +3,12 @@ buildscript { repositories { jcenter() google() + mavenCentral() maven { url "https://jitpack.io" } } dependencies { classpath 'com.android.tools.build:gradle:3.4.2' - classpath 'com.novoda:bintray-release:0.9.2' + classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1' } } @@ -24,7 +25,11 @@ allprojects { } apply plugin: 'com.android.library' -apply plugin: 'com.novoda.bintray-release' +apply plugin: 'com.bmuschko.nexus' + +archivesBaseName = 'lbrysdk64' +group = "io.lbry" +version = "{{ args.version }}" android { compileSdkVersion {{ android_api }} @@ -96,15 +101,10 @@ subprojects { } } -publish { - userOrg = 'lbryio' - repoName = 'io.lbry' - groupId = 'io.lbry' - artifactId = 'lbrysdk64' - publishVersion = '{{args.version}}' - licences = ['MIT'] - desc = 'LBRY SDK packaged as Android AAR (64-bit)' - website = 'https://github.com/lbryio/lbry-android-sdk' +nexus { + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/' } dependencies { diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm index 22e415f..95f85b9 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm @@ -3,11 +3,12 @@ buildscript { repositories { jcenter() google() + mavenCentral() maven { url "https://jitpack.io" } } dependencies { classpath 'com.android.tools.build:gradle:3.4.2' - classpath 'com.novoda:bintray-release:0.9.2' + classpath 'com.bmuschko:gradle-nexus-plugin:2.3.1' } } @@ -24,7 +25,11 @@ allprojects { } apply plugin: 'com.android.library' -apply plugin: 'com.novoda.bintray-release' +apply plugin: 'com.bmuschko.nexus' + +archivesBaseName = 'lbrysdk32' +group = "io.lbry" +version = "{{ args.version }}" android { compileSdkVersion {{ android_api }} @@ -96,15 +101,10 @@ subprojects { } } -publish { - userOrg = 'lbryio' - repoName = 'io.lbry' - groupId = 'io.lbry' - artifactId = 'lbrysdk32' - publishVersion = '{{args.version}}' - licences = ['MIT'] - desc = 'LBRY SDK packaged as Android AAR (32-bit)' - website = 'https://github.com/lbryio/lbry-android-sdk' +nexus { + sign = true + repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' + snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/' } dependencies { diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/gradle.properties b/p4a/pythonforandroid/bootstraps/lbry/build/templates/gradle.properties index d015431..709347b 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/gradle.properties +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/gradle.properties @@ -1,2 +1,9 @@ android.useAndroidX=true -android.enableJetifier=true \ No newline at end of file +android.enableJetifier=true + +nexusUsername=${env.SONATYPE_USERNAME} +nexusPassword=${env.SONATYPE_PASSWORD} + +signing.keyId=${env.NEXUS_SIGNING_KEY_ID} +signing.password=${env.NEXUS_SIGNING_KEY_PASSWORD} +signing.secretKeyRingFile=${env.NEXUS_SIGNING_KEYRING_FILE} diff --git a/signing.pgp b/signing.pgp new file mode 100644 index 0000000000000000000000000000000000000000..9f58bb2e322e1377adf3166e6354046b087bdab5 GIT binary patch literal 3792 zcmajgcRUo1q8&c|(CG{Lxc$5}z@lFRe(A*WICM<&@ftz!8KPIu=IJ_Gvy@XGs zt6FnI_Q$t%;#88eG_FBr13?^vS5K#^Ra(AeW&_=k*BMiT+C-JCLp{z}bA~I_k1% z(JBn$T#9582XgF7CTXsjS)CLl$R(0rWNN+IwEF>=u^VCOsh{uE6O2o8vK|`!t8o&u zX!_IJAmf6nc3P<1!c?xrH0IqkW_YOk3{8k7_44*BsU9EHA4KK2qv{-KWJ_ms01Q9? z@S2iMMBVYQz&$uZ@ae<}zbPy||)}x92e2r+zQ6 zS1qIVv$*(s_ub63+{uAl(%#3zlR0_0b@R`o78;oERv}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RenikvDzQwN@EdPv48RaZpFX2?^aQM-@GY{1Lpxh zX+(^72$y(?#5ITaE(9{!DKiEK`tV)sdG{?y3Mf4O8C0;OcP3D{@`Z}8>Lb9 zesoHEiQ9d$f(-bW$*YawUMO(DtBdUE;i{&B~>{TZWRSaY=&S;gql1i_u zIZIAqP%UEQUqtJ-`~sL_cz^SskKPM! zwM~Dcr5A56dU+7T)-@I>^q&3aF&mZ=fqgD+D8g9l4{Ws!Ko?>G!?R1hdzCq zP@om7@fx5pR6qBPBq4R8KX4;i#yOf%Ir7$PWdU_I*lXRuhzZObFHM`kC(tt2RCsbu zVYXAP;;{njcGa&R@SqMvT}C}k=6g-SI~l?j3#@(+Ha(Kgm8=_(hU;4j_>qmg>Zx{% z=NdrGryk_Vx{&U_Nm2QA^eP9Nj4HdTEmjFVdS#4L@;q^$u7>8MSUFf|-QM&>hsEt9 zDO0sn<;MD30+8HExru7it+z)vJ3&7DxPAT`t)j2fLsTpYP_8`YncMRzHmKQ6>rXHj zgcgC?j?>cqOsb%ioy8$Dw?W+mN_xE!1sx$&y@7KD`Miw0FjRZ0B9!d0mOq@j@g^ED z4{(wh;!gc6Zg1)QnBmfpcPPB!ADoj6)^a_i%$3CP!O!BAxgO#QQ%%uURCF9#kPWu}=$`bDiX|dil+U}?=XMlR^Q(%pwLJ<$r=D-QVsn4Pm{QZ9WbPxW3 z=Y1^|Tj|~&CSeQ5dF8`?zq|=G49T_rpb!jwn*AfH$)5vj yw)Yk-0?k%o1T!kAFKxjLZI}5*-rd!+KJkOS*7?K$ksN#dn0yKQ;&~ic@jn3Ya5)eF literal 0 HcmV?d00001 -- 2.45.2 From 5b20ed413d39a8b5d18e5eb6bc3739a6a091c4f6 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 24 Jun 2021 21:38:23 +0100 Subject: [PATCH 2/7] remove bintrayUpload argument --- p4a/pythonforandroid/toolchain.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/p4a/pythonforandroid/toolchain.py b/p4a/pythonforandroid/toolchain.py index be5e14a..02a79f0 100644 --- a/p4a/pythonforandroid/toolchain.py +++ b/p4a/pythonforandroid/toolchain.py @@ -865,9 +865,6 @@ class ToolchainCL(object): raise BuildInterruptingException( "Unknown build mode {} for apk()".format(args.build_mode)) output = shprint(gradlew, "--console=plain", gradle_task, - "bintrayUpload", - "-PdryRun=false", - "-Poverride=true", _tail=20, _critical=True, _env=env) -- 2.45.2 From 24a2d2a95ee38a497142f02a84ac0f165f753608 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 24 Jun 2021 21:50:45 +0100 Subject: [PATCH 3/7] update nexus repository url --- .../bootstraps/lbry/build/templates/build.tmpl.gradle | 4 ++-- .../bootstraps/lbry/build/templates/build.tmpl.gradle.arm | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle index fcac5cd..45c3e0b 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle @@ -103,8 +103,8 @@ subprojects { nexus { sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/' + repositoryUrl = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/' + snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } dependencies { diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm index 95f85b9..2d4e05d 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm @@ -103,8 +103,8 @@ subprojects { nexus { sign = true - repositoryUrl = 'https://oss.sonatype.org/service/local/staging/deploy/maven2/' - snapshotRepositoryUrl = 'https://oss.sonatype.org/content/repositories/snapshots/' + repositoryUrl = 'https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/' + snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } dependencies { -- 2.45.2 From e993c0e3976cc496316accb40a7e95c99cedb97d Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 24 Jun 2021 21:56:03 +0100 Subject: [PATCH 4/7] change archivesBaseName --- .../bootstraps/lbry/build/templates/build.tmpl.gradle | 2 +- .../bootstraps/lbry/build/templates/build.tmpl.gradle.arm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle index 45c3e0b..aaf72aa 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle @@ -27,7 +27,7 @@ allprojects { apply plugin: 'com.android.library' apply plugin: 'com.bmuschko.nexus' -archivesBaseName = 'lbrysdk64' +archivesBaseName = 'lbrysdk' group = "io.lbry" version = "{{ args.version }}" diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm index 2d4e05d..e5eaa35 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm @@ -27,7 +27,7 @@ allprojects { apply plugin: 'com.android.library' apply plugin: 'com.bmuschko.nexus' -archivesBaseName = 'lbrysdk32' +archivesBaseName = 'lbrysdk' group = "io.lbry" version = "{{ args.version }}" -- 2.45.2 From 2eb913cb629552c37347c5e62a82aea6abd1c5b6 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 24 Jun 2021 22:11:16 +0100 Subject: [PATCH 5/7] add uploadArchives task argument --- .../bootstraps/lbry/build/templates/build.tmpl.gradle | 8 ++++++++ .../bootstraps/lbry/build/templates/build.tmpl.gradle.arm | 8 ++++++++ p4a/pythonforandroid/toolchain.py | 1 + 3 files changed, 17 insertions(+) diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle index aaf72aa..553ac07 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle @@ -107,6 +107,14 @@ nexus { snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } +uploadArchives { + repositories { + mavenDeployer { + pom.artifactId = "lbrysdk64" + } + } +} + dependencies { {%- for aar in aars %} compile(name: '{{ aar }}', ext: 'aar') diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm index e5eaa35..49168f3 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm @@ -107,6 +107,14 @@ nexus { snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } +uploadArchives { + repositories { + mavenDeployer { + pom.artifactId = "lbrysdk32" + } + } +} + dependencies { {%- for aar in aars %} compile(name: '{{ aar }}', ext: 'aar') diff --git a/p4a/pythonforandroid/toolchain.py b/p4a/pythonforandroid/toolchain.py index 02a79f0..a310723 100644 --- a/p4a/pythonforandroid/toolchain.py +++ b/p4a/pythonforandroid/toolchain.py @@ -865,6 +865,7 @@ class ToolchainCL(object): raise BuildInterruptingException( "Unknown build mode {} for apk()".format(args.build_mode)) output = shprint(gradlew, "--console=plain", gradle_task, + "uploadArchives", _tail=20, _critical=True, _env=env) -- 2.45.2 From bfc95cc1304ffca447a6948cc10d86edc7fd03ac Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Thu, 24 Jun 2021 22:55:44 +0100 Subject: [PATCH 6/7] fix template rendering --- p4a/pythonforandroid/bootstraps/lbry/build/build.py | 5 ++++- .../bootstraps/lbry/build/templates/gradle.properties | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/build.py b/p4a/pythonforandroid/bootstraps/lbry/build/build.py index 21da781..59857a9 100755 --- a/p4a/pythonforandroid/bootstraps/lbry/build/build.py +++ b/p4a/pythonforandroid/bootstraps/lbry/build/build.py @@ -404,7 +404,10 @@ main.py that loads it.''') android_api=android_api, build_tools_version=build_tools_version) - render('gradle.properties', 'gradle.properties') + render( + 'gradle.properties', + 'gradle.properties', + env=os.environ) # copy icon drawables for folder in ('drawable-hdpi', 'drawable-mdpi', 'drawable-xhdpi', 'drawable-xxhdpi', 'drawable-xxxhdpi'): diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/gradle.properties b/p4a/pythonforandroid/bootstraps/lbry/build/templates/gradle.properties index 709347b..f7a8396 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/gradle.properties +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/gradle.properties @@ -1,9 +1,9 @@ android.useAndroidX=true android.enableJetifier=true -nexusUsername=${env.SONATYPE_USERNAME} -nexusPassword=${env.SONATYPE_PASSWORD} +nexusUsername={{ env["SONATYPE_USERNAME"] }} +nexusPassword={{ env["SONATYPE_PASSWORD"] }} -signing.keyId=${env.NEXUS_SIGNING_KEY_ID} -signing.password=${env.NEXUS_SIGNING_KEY_PASSWORD} -signing.secretKeyRingFile=${env.NEXUS_SIGNING_KEYRING_FILE} +signing.keyId={{ env["NEXUS_SIGNING_KEY_ID"] }} +signing.password={{ env["NEXUS_SIGNING_KEY_PASSWORD"] }} +signing.secretKeyRingFile={{ env["NEXUS_SIGNING_KEYRING_FILE"] }} -- 2.45.2 From ec4044647c81b7926f2ea3c2499fa2aedef957b3 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Fri, 25 Jun 2021 00:01:42 +0100 Subject: [PATCH 7/7] use modifyPom to update artifactId --- .../bootstraps/lbry/build/templates/build.tmpl.gradle | 11 ++++++----- .../lbry/build/templates/build.tmpl.gradle.arm | 11 ++++++----- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle index 553ac07..34d5198 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle @@ -107,11 +107,12 @@ nexus { snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } -uploadArchives { - repositories { - mavenDeployer { - pom.artifactId = "lbrysdk64" - } +modifyPom { + project { + name 'LBRY SDK for Android' + description 'The LBRY SDK packaged as an Android AAR' + groupId 'io.lbry' + artifactId 'lbrysdk64' } } diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm index 49168f3..b418f27 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm @@ -107,11 +107,12 @@ nexus { snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' } -uploadArchives { - repositories { - mavenDeployer { - pom.artifactId = "lbrysdk32" - } +modifyPom { + project { + name 'LBRY SDK for Android' + description 'The LBRY SDK packaged as an Android AAR' + groupId 'io.lbry' + artifactId 'lbrysdk32' } } -- 2.45.2