We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dbd2ce commit f18e56eCopy full SHA for f18e56e
build.gradle.kts
@@ -1,11 +1,13 @@
1
plugins {
2
kotlin("jvm") version "2.0.20"
3
id("org.jetbrains.kotlinx.kover") version "0.8.3"
4
+ `maven-publish`
5
}
6
7
subprojects {
8
apply(plugin = "org.jetbrains.kotlin.jvm")
9
apply(plugin = "org.jetbrains.kotlinx.kover")
10
+ apply(plugin = "maven-publish")
11
12
group = "ai.ancf.lmos"
13
version = "1.0-SNAPSHOT"
@@ -16,6 +18,19 @@ subprojects {
16
18
testImplementation("io.mockk:mockk:1.13.13")
17
19
20
21
+ publishing {
22
+ publications {
23
+ create<MavenPublication>("mavenKotlin") {
24
+ from(components["java"])
25
+ artifactId = project.name
26
+ }
27
28
+ repositories {
29
+ mavenLocal()
30
31
32
+
33
34
tasks.test {
35
useJUnitPlatform()
36
0 commit comments