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
Showing only changes of commit 09c869b416 - Show all commits

View file

@ -845,8 +845,6 @@ class ToolchainCL(object):
# gradle-based build
env["ANDROID_NDK_HOME"] = self.ctx.ndk_dir
env["ANDROID_HOME"] = self.ctx.sdk_dir
env["ORG_GRADLE_PROJECT_bintrayUser"] = environ.get("BINTRAY_USER")
env["ORG_GRADLE_PROJECT_bintrayKey"] = environ.get("BINTRAY_KEY")
gradlew = sh.Command('./gradlew')
if exists('/usr/bin/dos2unix'):
@ -865,7 +863,7 @@ class ToolchainCL(object):
raise BuildInterruptingException(
"Unknown build mode {} for apk()".format(args.build_mode))
output = shprint(gradlew, "--console=plain", gradle_task,
"uploadArchives",
"publishReleasePublicationToSonatypeRepository",
_tail=20,
_critical=True, _env=env)