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