File tree Expand file tree Collapse file tree 1 file changed +17
-12
lines changed
Expand file tree Collapse file tree 1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ compileJava.options.encoding = "UTF-8"
77compileTestJava. options. encoding = " UTF-8"
88
99allprojects {
10- version = ' 1.0.4 '
10+ version = ' 1.0.0 '
1111 group = ' cz.foresttech'
1212
1313 repositories {
@@ -33,17 +33,6 @@ subprojects {
3333 useJUnitPlatform()
3434 }
3535
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-
4736 if (! (project. name in [' shared' ])) {
4837 apply plugin : ' com.github.johnrengelman.shadow'
4938
@@ -66,4 +55,20 @@ subprojects {
6655 }
6756 }
6857
58+ publishing {
59+ publications {
60+ maven(MavenPublication ) {
61+ groupId project. group
62+ artifactId project. name
63+ version project. version
64+
65+ if (project. name in [' shared' ]) {
66+ from components. java
67+ } else {
68+ artifact tasks. shadowJar
69+ }
70+ }
71+ }
72+ }
73+
6974}
You can’t perform that action at this time.
0 commit comments