Skip to content

Commit 74ecbea

Browse files
authored
Update build gradle to support packages
1 parent 395d5d8 commit 74ecbea

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

build.gradle

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,11 +171,16 @@ publishing {
171171

172172
repositories {
173173
maven {
174-
url "file:///${project.projectDir}/mcmodsrepo"
174+
name = "GitHubPackages"
175+
url = "https://maven.pkg.github.com/robotgryphon/compact-crafting"
176+
credentials {
177+
username = System.getenv("GITHUB_ACTOR")
178+
password = System.getenv("GITHUB_TOKEN")
179+
}
175180
}
176181
}
177182
}
178183

179184
test {
180185
useJUnitPlatform()
181-
}
186+
}

0 commit comments

Comments
 (0)