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 67 additions and 62 deletions
Showing only changes of commit c7272d192f - Show all commits

View file

@ -31,6 +31,39 @@ archivesBaseName = 'lbrysdk'
group = "io.lbry"
version = "{{ args.version }}"
project(':lbrysdk') {
modifyPom {
project {
name 'LBRY SDK for Android'
description 'The LBRY SDK packaged as an Android AAR'
groupId 'io.lbry'
artifactId 'lbrysdk64'
scm {
url 'https://github.com/lbryio/lbry-android-sdk'
connection 'scm:https://github.com/lbryio/lbry-android-sdk.git'
developerConnection 'scm:git://github.com/lbryio/lbry-android-sdk.git'
}
licenses {
license {
name 'MIT License'
url 'https://raw.githubusercontent.com/lbryio/lbry-android-sdk/master/LICENSE'
distribution 'repo'
}
}
developers {
developer {
id 'shockr'
name 'Akinwale Ariwodola'
email 'akinwale@lbry.com'
}
}
}
}
}
android {
compileSdkVersion {{ android_api }}
buildToolsVersion '{{ build_tools_version }}'
@ -107,37 +140,6 @@ nexus {
snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
modifyPom {
project {
name 'LBRY SDK for Android'
description 'The LBRY SDK packaged as an Android AAR'
groupId 'io.lbry'
artifactId 'lbrysdk64'
scm {
url 'https://github.com/lbryio/lbry-android-sdk'
connection 'scm:https://github.com/lbryio/lbry-android-sdk.git'
developerConnection 'scm:git://github.com/lbryio/lbry-android-sdk.git'
}
licenses {
license {
name 'MIT License'
url 'https://raw.githubusercontent.com/lbryio/lbry-android-sdk/master/LICENSE'
distribution 'repo'
}
}
developers {
developer {
id 'shockr'
name 'Akinwale Ariwodola'
email 'akinwale@lbry.com'
}
}
}
}
dependencies {
{%- for aar in aars %}
compile(name: '{{ aar }}', ext: 'aar')

View file

@ -31,6 +31,40 @@ archivesBaseName = 'lbrysdk'
group = "io.lbry"
version = "{{ args.version }}"
project(':lbrysdk') {
modifyPom {
project {
name 'LBRY SDK for Android'
description 'The LBRY SDK packaged as an Android AAR'
url 'https://github.com/lbryio/lbry-android-sdk'
groupId 'io.lbry'
artifactId 'lbrysdk32'
scm {
url 'https://github.com/lbryio/lbry-android-sdk'
connection 'scm:https://github.com/lbryio/lbry-android-sdk.git'
developerConnection 'scm:git://github.com/lbryio/lbry-android-sdk.git'
}
licenses {
license {
name 'MIT License'
url 'https://raw.githubusercontent.com/lbryio/lbry-android-sdk/master/LICENSE'
distribution 'repo'
}
}
developers {
developer {
id 'shockr'
name 'Akinwale Ariwodola'
email 'akinwale@lbry.com'
}
}
}
}
}
android {
compileSdkVersion {{ android_api }}
buildToolsVersion '{{ build_tools_version }}'
@ -107,37 +141,6 @@ nexus {
snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
}
modifyPom {
project {
name 'LBRY SDK for Android'
description 'The LBRY SDK packaged as an Android AAR'
groupId 'io.lbry'
artifactId 'lbrysdk32'
scm {
url 'https://github.com/lbryio/lbry-android-sdk'
connection 'scm:https://github.com/lbryio/lbry-android-sdk.git'
developerConnection 'scm:git://github.com/lbryio/lbry-android-sdk.git'
}
licenses {
license {
name 'MIT License'
url 'https://raw.githubusercontent.com/lbryio/lbry-android-sdk/master/LICENSE'
distribution 'repo'
}
}
developers {
developer {
id 'shockr'
name 'Akinwale Ariwodola'
email 'akinwale@lbry.com'
}
}
}
}
dependencies {
{%- for aar in aars %}
compile(name: '{{ aar }}', ext: 'aar')