mirror of
https://github.com/recloudstream/gradle.git
synced 2024-08-14 23:56:59 +00:00
mavenlocal
This commit is contained in:
parent
6b87823ca1
commit
5d21ca00d5
1 changed files with 2 additions and 2 deletions
|
@ -42,6 +42,8 @@ gradlePlugin {
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
repositories {
|
repositories {
|
||||||
|
mavenLocal()
|
||||||
|
|
||||||
val token = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
|
val token = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
|
||||||
|
|
||||||
if (token != null) {
|
if (token != null) {
|
||||||
|
@ -52,8 +54,6 @@ publishing {
|
||||||
}
|
}
|
||||||
setUrl("https://maven.pkg.github.com/recloudstream/gradle")
|
setUrl("https://maven.pkg.github.com/recloudstream/gradle")
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
mavenLocal()
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue