Maven Central publishing - set POM properties #10
2 changed files with 3 additions and 11 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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