set project specific modifyPom

This commit is contained in:
Akinwale Ariwodola 2021-06-25 01:24:39 +01:00
parent d7e6ba1ba8
commit c7272d192f
2 changed files with 67 additions and 62 deletions

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')