Skip to content

Commit fddf028

Browse files
committed
Added maven-publish
1 parent 53b7921 commit fddf028

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

build.gradle.kts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
33
plugins {
44
kotlin("jvm") version "1.7.10"
55
kotlin("plugin.serialization") version "1.7.10"
6+
`maven-publish`
67
}
78

89
group = "dev.imanity.bbbapi"
@@ -18,6 +19,18 @@ dependencies {
1819
implementation(libs.coroutines)
1920
}
2021

22+
publishing {
23+
publications {
24+
create<MavenPublication>("maven") {
25+
groupId = "dev.imanity.bbbapi"
26+
artifactId = "bbbapi"
27+
version = "1.0.0"
28+
29+
from(components["java"])
30+
}
31+
}
32+
}
33+
2134
tasks.test {
2235
useJUnitPlatform()
2336
}

0 commit comments

Comments
 (0)