Skip to content

Commit 44563ff

Browse files
committed
fix publishing
1 parent b9804a7 commit 44563ff

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

build.gradle.kts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,12 @@ tasks.jar {
1313

1414
publishing {
1515
repositories {
16-
maven {
16+
maven("https://maven.canvasmc.io/snapshots") {
1717
name = "canvasmc"
18-
url = uri("https://maven.canvasmc.io/snapshots")
18+
credentials {
19+
username=System.getenv("PUBLISH_USER")
20+
password=System.getenv("PUBLISH_TOKEN")
21+
}
1922
}
2023
}
2124

0 commit comments

Comments
 (0)