File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,7 @@ build {
2222
2323subprojects {
2424 apply plugin : ' java'
25+ apply plugin : ' maven-publish'
2526
2627 java {
2728 sourceCompatibility = JavaVersion . VERSION_17
@@ -32,8 +33,18 @@ subprojects {
3233 useJUnitPlatform()
3334 }
3435
36+ publishing {
37+ publications {
38+ maven(MavenPublication ) {
39+ groupId project. group
40+ artifactId project. name
41+ version project. version
42+ from components. java
43+ }
44+ }
45+ }
46+
3547 if (! (project. name in [' shared' ])) {
36- apply plugin : ' maven-publish'
3748 apply plugin : ' com.github.johnrengelman.shadow'
3849
3950 dependencies {
@@ -53,17 +64,6 @@ subprojects {
5364
5465 configurations = [project. configurations. runtimeClasspath]
5566 }
56-
57- publishing {
58- publications {
59- maven(MavenPublication ) {
60- groupId project. group
61- artifactId project. name
62- version project. version
63- from components. java
64- }
65- }
66- }
6767 }
6868
6969}
You can’t perform that action at this time.
0 commit comments