add uploadArchives task argument

This commit is contained in:
Akinwale Ariwodola 2021-06-24 22:11:16 +01:00
parent e993c0e397
commit 2eb913cb62
3 changed files with 17 additions and 0 deletions

View file

@ -107,6 +107,14 @@ nexus {
snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
} }
uploadArchives {
repositories {
mavenDeployer {
pom.artifactId = "lbrysdk64"
}
}
}
dependencies { dependencies {
{%- for aar in aars %} {%- for aar in aars %}
compile(name: '{{ aar }}', ext: 'aar') compile(name: '{{ aar }}', ext: 'aar')

View file

@ -107,6 +107,14 @@ nexus {
snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/' snapshotRepositoryUrl = 'https://s01.oss.sonatype.org/content/repositories/snapshots/'
} }
uploadArchives {
repositories {
mavenDeployer {
pom.artifactId = "lbrysdk32"
}
}
}
dependencies { dependencies {
{%- for aar in aars %} {%- for aar in aars %}
compile(name: '{{ aar }}', ext: 'aar') compile(name: '{{ aar }}', ext: 'aar')

View file

@ -865,6 +865,7 @@ class ToolchainCL(object):
raise BuildInterruptingException( raise BuildInterruptingException(
"Unknown build mode {} for apk()".format(args.build_mode)) "Unknown build mode {} for apk()".format(args.build_mode))
output = shprint(gradlew, "--console=plain", gradle_task, output = shprint(gradlew, "--console=plain", gradle_task,
"uploadArchives",
_tail=20, _tail=20,
_critical=True, _env=env) _critical=True, _env=env)