Skip to content

Commit 6c941da

Browse files
committed
Actually publish JARs
1 parent 47502f5 commit 6c941da

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

api/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
publishing {
22
publications {
3-
withType<MavenPublication> {
3+
create<MavenPublication>("maven") {
44
artifactId = "cloudburst-api"
5+
from(components["java"])
56
}
67
}
78
}

server/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,9 @@ extraJavaModuleInfo {
8484

8585
publishing {
8686
publications {
87-
withType<MavenPublication> {
87+
create<MavenPublication>("maven") {
8888
artifactId = "cloudburst-server"
89+
from(components["java"])
8990
artifact(tasks.generateGitProperties) {
9091
extension = "properties"
9192
}

settings.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
rootProject.name = "cloudburst"
1+
rootProject.name = "Cloudburst"
22

33
plugins {
44
id("org.gradle.toolchains.foojay-resolver-convention") version ("0.4.0")

vanilla/build.gradle.kts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
publishing {
22
publications {
3-
withType<MavenPublication> {
3+
create<MavenPublication>("maven") {
44
artifactId = "cloudburst-vanilla"
5+
from(components["java"])
56
}
67
}
78
}

0 commit comments

Comments
 (0)