File tree 1 file changed +17
-12
lines changed
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"
7
7
compileTestJava. options. encoding = " UTF-8"
8
8
9
9
allprojects {
10
- version = ' 1.0.4 '
10
+ version = ' 1.0.0 '
11
11
group = ' cz.foresttech'
12
12
13
13
repositories {
@@ -33,17 +33,6 @@ subprojects {
33
33
useJUnitPlatform()
34
34
}
35
35
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
-
47
36
if (! (project. name in [' shared' ])) {
48
37
apply plugin : ' com.github.johnrengelman.shadow'
49
38
@@ -66,4 +55,20 @@ subprojects {
66
55
}
67
56
}
68
57
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
+
69
74
}
You can’t perform that action at this time.
0 commit comments