mirror of
https://github.com/revanced/multidexlib2.git
synced 2025-05-28 20:40:24 +02:00
Allow builds without OSSRH credentials
This commit is contained in:
parent
177350fbba
commit
4275a870d5
@ -100,6 +100,7 @@ uploadArchives {
|
||||
}
|
||||
}
|
||||
|
||||
if (project.hasProperty('ossrhUsername')) {
|
||||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
||||
authentication userName: ossrhUsername, password: ossrhPassword
|
||||
}
|
||||
@ -107,6 +108,7 @@ uploadArchives {
|
||||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
|
||||
authentication userName: ossrhUsername, password: ossrhPassword
|
||||
}
|
||||
}
|
||||
|
||||
beforeDeployment {
|
||||
signing.signPom(it)
|
||||
|
Loading…
x
Reference in New Issue
Block a user