Update build settings and dependencies

Add Dokka for documentation generation and configure credentials for new Maven repository endpoints. Transition kotlin-komponent dependency to a stable release version, and set project version to 1.1.0 for release readiness.
This commit is contained in:
2024-12-07 17:17:16 +01:00
parent d458bbcd19
commit 942140a1e3

View File

@@ -2,10 +2,11 @@ plugins {
kotlin("multiplatform") version "2.1.0"
`maven-publish`
signing
id("org.jetbrains.dokka") version "1.5.31"
}
group = "nl.astraeus"
version = "1.1.0-SNAPSHOT"
version = "1.1.0"
repositories {
mavenCentral()
@@ -39,7 +40,7 @@ kotlin {
}
val jsMain by getting {
dependencies {
implementation("nl.astraeus:kotlin-komponent:1.2.4-SNAPSHOT")
implementation("nl.astraeus:kotlin-komponent:1.2.4")
}
}
val jsTest by getting {
@@ -88,6 +89,18 @@ publishing {
name = "gitea"
setUrl("https://gitea.astraeus.nl/api/packages/rnentjes/maven")
credentials {
val giteaUsername: String? by project
val giteaPassword: String? by project
username = giteaUsername
password = giteaPassword
}
}
maven {
name = "gitea8443"
setUrl("https://gitea.astraeus.nl:8443/api/packages/rnentjes/maven")
credentials {
val giteaUsername: String? by project
val giteaPassword: String? by project