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 {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
|
name = 'local'
|
||||||
|
url = layout.buildDirectory.dir('repository')
|
||||||
|
}
|
||||||
if (project.hasProperty('publishing.url')) {
|
if (project.hasProperty('publishing.url')) {
|
||||||
|
maven {
|
||||||
|
name = 'remote'
|
||||||
url = project.getProperty('publishing.url')
|
url = project.getProperty('publishing.url')
|
||||||
credentials {
|
credentials {
|
||||||
username = project.getProperty('publishing.username')
|
username = project.getProperty('publishing.username')
|
||||||
password = project.getProperty('publishing.password')
|
password = project.getProperty('publishing.password')
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
url = layout.buildDirectory.dir('repository')
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -120,6 +123,10 @@ signing {
|
|||||||
|
|
||||||
apply from: 'check-copyright.gradle'
|
apply from: 'check-copyright.gradle'
|
||||||
|
|
||||||
|
assemble {
|
||||||
|
dependsOn publishAllPublicationsToLocalRepository
|
||||||
|
}
|
||||||
|
|
||||||
wrapper {
|
wrapper {
|
||||||
distributionType = Wrapper.DistributionType.ALL
|
distributionType = Wrapper.DistributionType.ALL
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user