Maven Central publishing - set POM properties #10
2 changed files with 3 additions and 11 deletions
|
@ -124,11 +124,7 @@ 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
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue