Skip to content

Commit

Permalink
Add GitHub Packages publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
der_frühling committed Apr 3, 2024
1 parent 1990b2d commit 57faf5d
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 15 deletions.
13 changes: 13 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,17 @@ allprojects {
java {
withSourcesJar()
}

publishing {
repositories {
maven {
name = "GitHubPackages"
url = "https://maven.pkg.github.com/der-fruhling/create-train-perspective"
credentials {
username = System.getenv("GITHUB_ACTOR")
password = System.getenv("GITHUB_TOKEN")
}
}
}
}
}
5 changes: 0 additions & 5 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,4 @@ publishing {
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
}
}
5 changes: 0 additions & 5 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ publishing {
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
}
}

modrinth {
Expand Down
5 changes: 0 additions & 5 deletions forge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,6 @@ publishing {
from components.java
}
}

// See https://docs.gradle.org/current/userguide/publishing_maven.html for information on how to set up publishing.
repositories {
// Add repositories to publish to here.
}
}

modrinth {
Expand Down

0 comments on commit 57faf5d

Please sign in to comment.