From f015e26965c1350267dc3587daba071420d2cc69 Mon Sep 17 00:00:00 2001 From: Akinwale Ariwodola Date: Fri, 25 Jun 2021 07:37:05 +0100 Subject: [PATCH] use components.all --- .../bootstraps/lbry/build/templates/build.tmpl.gradle | 8 ++------ .../bootstraps/lbry/build/templates/build.tmpl.gradle.arm | 6 +----- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle index 1cef3b1..b053d2a 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle @@ -124,12 +124,8 @@ afterEvaluate { artifactId 'lbrysdk64' version '{{ args.version }}' - if (project.plugins.findPlugin("com.android.library")) { - from components.release - } else { - from components.java - } - + from components.all + artifact androidSourcesJar artifact javadocJar 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 e6a91d5..ba5dd9c 100644 --- a/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm +++ b/p4a/pythonforandroid/bootstraps/lbry/build/templates/build.tmpl.gradle.arm @@ -125,11 +125,7 @@ afterEvaluate { artifactId 'lbrysdk32' version '{{ args.version }}' - if (project.plugins.findPlugin("com.android.library")) { - from components.release - } else { - from components.java - } + from components.all artifact androidSourcesJar artifact javadocJar