Skip to content
This repository was archived by the owner on Oct 15, 2024. It is now read-only.

Commit 1af4f9b

Browse files
committed
fix: Jitpack fix
1 parent 025797b commit 1af4f9b

4 files changed

Lines changed: 19 additions & 2 deletions

File tree

bson/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
kotlin("jvm") version kotlin_version
33
kotlin("plugin.serialization") version kotlin_version
4+
id("maven-publish")
45
}
56

67
repositories {

build.gradle.kts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,3 +51,18 @@ afterEvaluate {
5151
}
5252
}
5353
}
54+
55+
subprojects {
56+
group = "org.cufy.monkt"
57+
58+
afterEvaluate {
59+
publishing {
60+
publications {
61+
create<MavenPublication>("maven") {
62+
from(components["java"])
63+
artifactId = project.name
64+
}
65+
}
66+
}
67+
}
68+
}

mongodb/build.gradle.kts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
plugins {
22
kotlin("jvm") version kotlin_version
33
kotlin("plugin.serialization") version kotlin_version
4+
id("maven-publish")
45
}
56

67
repositories {

settings.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
rootProject.name = "monkt"
2-
include("bson")
3-
include("mongodb")
2+
include(":bson")
3+
include(":mongodb")

0 commit comments

Comments
 (0)