We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7621590 commit 3fdd58bCopy full SHA for 3fdd58b
1 file changed
build.gradle
@@ -1,5 +1,6 @@
1
plugins {
2
id 'java'
3
+ id 'publishing'
4
}
5
6
group 'org.example'
@@ -11,3 +12,16 @@ repositories {
11
12
13
dependencies {
14
15
+
16
+publishing {
17
+ repositories {
18
+ maven {
19
+ name = "GitHubPackages"
20
+ url = "https://maven.pkg.github.com/octocat/hello-world"
21
+ credentials {
22
+ username = System.getenv("GITHUB_ACTOR")
23
+ password = System.getenv("GITHUB_TOKEN")
24
+ }
25
26
27
+}
0 commit comments