mavenlocal

This commit is contained in:
Cloudburst 2023-03-17 12:20:55 +00:00
parent 6b87823ca1
commit 5d21ca00d5
1 changed files with 2 additions and 2 deletions

View File

@ -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()
} }
} }
} }