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 {
repositories {
mavenLocal()
val token = project.findProperty("gpr.key") as String? ?: System.getenv("GITHUB_TOKEN")
if (token != null) {
@ -52,8 +54,6 @@ publishing {
}
setUrl("https://maven.pkg.github.com/recloudstream/gradle")
}
} else {
mavenLocal()
}
}
}