Skip to content

Commit cbb4d68

Browse files
authored
Updated maven publish ci (#738)
1 parent d19d186 commit cbb4d68

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

gradle/maven-publish.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,15 +28,15 @@ artifacts {
2828
publishing {
2929
publications {
3030
mavenJava(MavenPublication) {
31+
from components.java
32+
33+
artifact sourcesJar
34+
artifact javadocJar
3135

3236
groupId = GROUP
3337
artifactId = POM_ARTIFACT_ID
3438
version = getVersionName()
3539

36-
artifact("$buildDir/libs/${project.name}-${version}.jar")
37-
artifact sourcesJar
38-
artifact javadocJar
39-
4040
pom {
4141
name = POM_NAME
4242
packaging = POM_PACKAGING

0 commit comments

Comments
 (0)