use components.all

This commit is contained in:
Akinwale Ariwodola 2021-06-25 07:37:05 +01:00
parent 79d7676233
commit f015e26965
2 changed files with 3 additions and 11 deletions

View file

@ -124,12 +124,8 @@ afterEvaluate {
artifactId 'lbrysdk64' artifactId 'lbrysdk64'
version '{{ args.version }}' version '{{ args.version }}'
if (project.plugins.findPlugin("com.android.library")) { from components.all
from components.release
} else {
from components.java
}
artifact androidSourcesJar artifact androidSourcesJar
artifact javadocJar artifact javadocJar

View file

@ -125,11 +125,7 @@ afterEvaluate {
artifactId 'lbrysdk32' artifactId 'lbrysdk32'
version '{{ args.version }}' version '{{ args.version }}'
if (project.plugins.findPlugin("com.android.library")) { from components.all
from components.release
} else {
from components.java
}
artifact androidSourcesJar artifact androidSourcesJar
artifact javadocJar artifact javadocJar