Skip to content

Commit e4d0f1b

Browse files
committed
Update publish task
1 parent d6e9c68 commit e4d0f1b

1 file changed

Lines changed: 8 additions & 5 deletions

File tree

build.gradle

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,14 @@ runClient{
8989

9090
// configure the maven publication
9191
publishing {
92-
publications {
93-
mavenJava(MavenPublication) {
94-
from components.java
95-
}
96-
}
92+
publications {
93+
mavenJava(MavenPublication) {
94+
groupId = project.maven_group
95+
artifactId = project.archives_base_name
96+
version = project.mod_version
97+
from components.java
98+
}
99+
}
97100

98101
// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
99102
repositories {

0 commit comments

Comments
 (0)