plugins { kotlin("jvm") version "2.3.21" `maven-publish` } group = "ru.thiflict" version = "1.0.0" repositories { mavenCentral() } dependencies { testImplementation(kotlin("test")) } kotlin { jvmToolchain(21) } tasks.test { useJUnitPlatform() } publishing { publications { create("maven") { groupId = "ru.thiflict" artifactId = "binary-utils" version = "1.0.0" from(components["java"]) } } repositories { maven { name = "Gitea" url = uri("https://git.ds1.thiflict.ru/api/packages/thiflict/maven") credentials { username = System.getenv("GITEA_USERNAME") password = System.getenv("GITEA_PASSWORD") } authentication { create("basic") } } } }