mavenlocal

This commit is contained in:
Cloudburst 2023-03-17 12:20:55 +00:00
parent 6b87823ca1
commit 5d21ca00d5

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