lyngweb: add Maven publishing configuration, range iterability tests, and minor editor refinements

This commit is contained in:
sergeych committed 2025-11-22 01:22:39 +01:00
1 parent faead76688
commit f4375ad627
4 files changed
+41 -7

No files matched your search

+23
View File
@@ -23,8 +23,13 @@ plugins {
alias(libs.plugins.kotlinMultiplatform)
id("org.jetbrains.kotlin.plugin.compose") version "2.2.21"
id("org.jetbrains.compose") version "1.9.3"
`maven-publish`
}
group = "net.sergeych"
version = "0.0.1-SNAPSHOT"
kotlin {
js(IR) {
browser {
@@ -49,3 +54,21 @@ kotlin {
}
}
}
publishing {
val mavenToken by lazy {
File("${System.getProperty("user.home")}/.gitea_token").readText()
}
repositories {
maven {
credentials(HttpHeaderCredentials::class) {
name = "Authorization"
value = mavenToken
}
url = uri("https://gitea.sergeych.net/api/packages/SergeychWorks/maven")
authentication {
create("Authorization", HttpHeaderAuthentication::class)
}
}
}
}