Skip to content

Commit 5fb4ff8

Browse files
committed
feat: add Maven publication configuration and update group property assignment
1 parent 7b3a4a0 commit 5fb4ff8

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

api/build.gradle.kts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,12 @@ dependencies {
44
annotationProcessor("org.projectlombok:lombok:1.18.42")
55
}
66

7+
publishing {
8+
publications {
9+
create<MavenPublication>("mavenJava") {
10+
from(components["java"])
11+
artifactId = "api"
12+
}
13+
}
14+
}
15+

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ allprojects {
99
apply(plugin = "java")
1010
apply(plugin = "maven-publish")
1111

12-
group = if (System.getenv("JITPACK") != null) "com.github.NighterDevelopment" else "github.nighter"
12+
group = "github.nighter"
1313
version = "1.6.1"
1414

1515
repositories {

0 commit comments

Comments
 (0)