mirror of
https://github.com/revanced/multidexlib2.git
synced 2025-04-30 06:34:31 +02:00
Always publish to local repository
This commit is contained in:
parent
8032cfae37
commit
895b3047f4
11
build.gradle
11
build.gradle
@ -99,14 +99,17 @@ publishing {
|
||||
publishing {
|
||||
repositories {
|
||||
maven {
|
||||
name = 'local'
|
||||
url = layout.buildDirectory.dir('repository')
|
||||
}
|
||||
if (project.hasProperty('publishing.url')) {
|
||||
maven {
|
||||
name = 'remote'
|
||||
url = project.getProperty('publishing.url')
|
||||
credentials {
|
||||
username = project.getProperty('publishing.username')
|
||||
password = project.getProperty('publishing.password')
|
||||
}
|
||||
} else {
|
||||
url = layout.buildDirectory.dir('repository')
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -120,6 +123,10 @@ signing {
|
||||
|
||||
apply from: 'check-copyright.gradle'
|
||||
|
||||
assemble {
|
||||
dependsOn publishAllPublicationsToLocalRepository
|
||||
}
|
||||
|
||||
wrapper {
|
||||
distributionType = Wrapper.DistributionType.ALL
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user