chore: Giteaのリポジトリを追加

This commit is contained in:
usbharu 2024-01-05 13:00:16 +09:00
parent 1eef96964e
commit 9bf3248757
Signed by: usbharu
GPG Key ID: 6556747BF94EEBC8
1 changed files with 15 additions and 0 deletions

View File

@ -81,4 +81,19 @@ publishing{
} }
} }
} }
repositories {
maven {
name = "Gitea"
url = uri("https://git.usbharu.dev/api/packages/usbharu/maven")
credentials(HttpHeaderCredentials::class.java) {
name = "Authorization"
value = "token "+(project.findProperty("gpr.gitea") as String? ?: System.getenv("GITEA"))
}
authentication {
create<HttpHeaderAuthentication>("header")
}
}
}
} }