fixed publishing for newer kotlin
This commit is contained in:
parent
e7f44bb5a0
commit
5357b05f4a
1
.gitignore
vendored
1
.gitignore
vendored
@ -6,3 +6,4 @@
|
|||||||
/node_modules
|
/node_modules
|
||||||
.kotlin
|
.kotlin
|
||||||
/.gigaide/gigaide.properties
|
/.gigaide/gigaide.properties
|
||||||
|
/java_pid40366.hprof
|
||||||
|
@ -98,25 +98,24 @@ kotlin {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
publishing {
|
publishing {
|
||||||
val mavenToken by lazy {
|
val mavenToken by lazy {
|
||||||
File("${System.getProperty("user.home")}/.gitea_token").readText()
|
File("${System.getProperty("user.home")}/.gitea_token").readText()
|
||||||
}
|
}
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
credentials(HttpHeaderCredentials::class) {
|
credentials(HttpHeaderCredentials::class) {
|
||||||
name = "Authorization"
|
name = "Authorization"
|
||||||
value = mavenToken
|
value = mavenToken
|
||||||
}
|
}
|
||||||
url = uri("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
|
url = uri("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
|
||||||
authentication {
|
authentication {
|
||||||
create("Authorization", HttpHeaderAuthentication::class)
|
create("Authorization", HttpHeaderAuthentication::class)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
tasks.dokkaHtml.configure {
|
tasks.dokkaHtml.configure {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user