File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- import java.net.URI
2-
31plugins {
42 id(" mcprotocollib.base-conventions" )
53 id(" net.kyori.indra.publishing" )
@@ -18,20 +16,3 @@ indra {
1816 }
1917 }
2018}
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+
13plugins {
24 id(" mcprotocollib.publish-conventions" )
35 jacoco
@@ -51,3 +53,20 @@ tasks.jacocoTestReport {
5153 html.outputLocation = layout.buildDirectory.dir(" jacocoHtml" )
5254 }
5355}
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