use components.all
This commit is contained in:
parent
79d7676233
commit
f015e26965
2 changed files with 3 additions and 11 deletions
|
@ -124,11 +124,7 @@ 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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue