scary shit comming up
This commit is contained in:
parent
b0d4a7d061
commit
1b9ff95d40
4 changed files with 20 additions and 31 deletions
16
gradle.properties.kts
Normal file
16
gradle.properties.kts
Normal 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")
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue