scary shit comming up

This commit is contained in:
kento2 2026-06-27 19:29:10 +02:00
parent b0d4a7d061
commit 1b9ff95d40
4 changed files with 20 additions and 31 deletions

16
gradle.properties.kts Normal file
View file

@ -0,0 +1,16 @@
val scrowToken = providers.gradleProperty("scrowMavenToken")
.orElse(providers.environmentVariable("SCROW_MAVEN_TOKEN")).get()
val scrowRepo: Action<RepositoryHandler> = Action {
maven {
name = "scrow"
url = uri("http://forge.kentoj.de/api/packages/scrow/maven")
isAllowInsecureProtocol = true
credentials(HttpHeaderCredentials::class) {
name = "Authorization"
value = "token $scrowToken"
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}