Maven Central publishing - set POM properties #10
2 changed files with 67 additions and 62 deletions
|
@ -31,6 +31,39 @@ archivesBaseName = 'lbrysdk'
|
||||||
group = "io.lbry"
|
group = "io.lbry"
|
||||||
version = "{{ args.version }}"
|
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 {
|
android {
|
||||||
compileSdkVersion {{ android_api }}
|
compileSdkVersion {{ android_api }}
|
||||||
buildToolsVersion '{{ build_tools_version }}'
|
buildToolsVersion '{{ build_tools_version }}'
|
||||||
|
@ -107,37 +140,6 @@ nexus {
|
||||||
snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
|
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 {
|
dependencies {
|
||||||
{%- for aar in aars %}
|
{%- for aar in aars %}
|
||||||
compile(name: '{{ aar }}', ext: 'aar')
|
compile(name: '{{ aar }}', ext: 'aar')
|
||||||
|
|
|
@ -31,6 +31,40 @@ archivesBaseName = 'lbrysdk'
|
||||||
group = "io.lbry"
|
group = "io.lbry"
|
||||||
version = "{{ args.version }}"
|
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 {
|
android {
|
||||||
compileSdkVersion {{ android_api }}
|
compileSdkVersion {{ android_api }}
|
||||||
buildToolsVersion '{{ build_tools_version }}'
|
buildToolsVersion '{{ build_tools_version }}'
|
||||||
|
@ -107,37 +141,6 @@ nexus {
|
||||||
snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
|
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 {
|
dependencies {
|
||||||
{%- for aar in aars %}
|
{%- for aar in aars %}
|
||||||
compile(name: '{{ aar }}', ext: 'aar')
|
compile(name: '{{ aar }}', ext: 'aar')
|
||||||
|
|
Loading…
Reference in a new issue