Maven Central publishing - set POM properties #10

Merged
akinwale merged 11 commits from maven-central-pom into master 2021-06-25 17:01:40 +02:00
2 changed files with 3 additions and 11 deletions
Showing only changes of commit f015e26965 - Show all commits

View file

@ -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

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