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
12
build.gradle
12
build.gradle
@ -100,12 +100,14 @@ uploadArchives {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
if (project.hasProperty('ossrhUsername')) {
|
||||||
authentication userName: ossrhUsername, password: ossrhPassword
|
repository(url: "https://oss.sonatype.org/service/local/staging/deploy/maven2/") {
|
||||||
}
|
authentication userName: ossrhUsername, password: ossrhPassword
|
||||||
|
}
|
||||||
|
|
||||||
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
|
snapshotRepository(url: "https://oss.sonatype.org/content/repositories/snapshots/") {
|
||||||
authentication userName: ossrhUsername, password: ossrhPassword
|
authentication userName: ossrhUsername, password: ossrhPassword
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
beforeDeployment {
|
beforeDeployment {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user