From 049347b2d21b09ece032cdc3cc506894b49f18b4 Mon Sep 17 00:00:00 2001 From: rnentjes Date: Sat, 26 Oct 2024 15:27:46 +0200 Subject: [PATCH] Add logging functionality and Maven publishing setup Added Logger class with various log levels to `commonMain`. Integrated `maven-publish` and `signing` plugins in `build.gradle.kts` to facilitate publishing artifacts to the Maven repository with proper credentials and metadata. Removed `gradle.properties` and updated `.gitignore` accordingly. --- build.gradle.kts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/build.gradle.kts b/build.gradle.kts index 02703db..d07f33e 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -4,6 +4,7 @@ plugins { kotlin("multiplatform") version "2.0.21" `maven-publish` signing + id("org.jetbrains.dokka") version "1.5.31" } group = "nl.astraeus" @@ -23,6 +24,10 @@ kotlin { } } +val javadocJar by tasks.registering(Jar::class) { + archiveClassifier.set("javadoc") +} + publishing { repositories { maven {