File tree Expand file tree Collapse file tree 2 files changed +19
-19
lines changed Expand file tree Collapse file tree 2 files changed +19
-19
lines changed Original file line number Diff line number Diff line change 1
- import java.net.URI
2
-
3
1
plugins {
4
2
id(" mcprotocollib.base-conventions" )
5
3
id(" net.kyori.indra.publishing" )
@@ -18,20 +16,3 @@ indra {
18
16
}
19
17
}
20
18
}
21
-
22
- publishing {
23
- repositories {
24
- maven {
25
- name = " geysermc"
26
- url = URI .create(
27
- when {
28
- project.version.toString().endsWith(" -SNAPSHOT" ) ->
29
- " https://repo.opencollab.dev/maven-snapshots"
30
- else ->
31
- " https://repo.opencollab.dev/maven-releases"
32
- }
33
- )
34
- credentials(PasswordCredentials ::class .java)
35
- }
36
- }
37
- }
Original file line number Diff line number Diff line change
1
+ import java.net.URI
2
+
1
3
plugins {
2
4
id(" mcprotocollib.publish-conventions" )
3
5
jacoco
@@ -51,3 +53,20 @@ tasks.jacocoTestReport {
51
53
html.outputLocation = layout.buildDirectory.dir(" jacocoHtml" )
52
54
}
53
55
}
56
+
57
+ publishing {
58
+ repositories {
59
+ maven {
60
+ name = " geysermc"
61
+ url = URI .create(
62
+ when {
63
+ version.toString().endsWith(" -SNAPSHOT" ) ->
64
+ " https://repo.opencollab.dev/maven-snapshots"
65
+ else ->
66
+ " https://repo.opencollab.dev/maven-releases"
67
+ }
68
+ )
69
+ credentials(PasswordCredentials ::class .java)
70
+ }
71
+ }
72
+ }
You can’t perform that action at this time.
0 commit comments