Skip to content

Commit

Permalink
Mavenery
Browse files Browse the repository at this point in the history
  • Loading branch information
enjarai committed Apr 10, 2024
1 parent 73f89f6 commit 2d2c5f1
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 18 deletions.
21 changes: 15 additions & 6 deletions common/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,24 @@ dependencies {
}

publishing {
repositories {
maven {
name = "enjaraiMaven"
url = "https://maven.enjarai.dev/releases"
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}

publications {
mavenJava(MavenPublication) {
artifactId base.archivesName.get()
groupId = rootProject.property('group')
artifactId = "do-a-barrel-roll"
version = "${project.version}-common"

from components.java
}
}
repositories {
maven {
url "file://" + System.getenv("local_maven")
}
}
}
21 changes: 15 additions & 6 deletions fabric/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -71,17 +71,26 @@ processResources {
}

publishing {
repositories {
maven {
name = "enjaraiMaven"
url = "https://maven.enjarai.dev/releases"
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}

publications {
mavenJava(MavenPublication) {
artifactId base.archivesName.get()
groupId = rootProject.property('group')
artifactId = "do-a-barrel-roll"
version = "${project.version}-fabric"

from components.java
}
}
repositories {
maven {
url "file://" + System.getenv("local_maven")
}
}
}

publishMods {
Expand Down
21 changes: 15 additions & 6 deletions neoforge/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -60,17 +60,26 @@ processResources {
}

publishing {
repositories {
maven {
name = "enjaraiMaven"
url = "https://maven.enjarai.dev/releases"
credentials(PasswordCredentials)
authentication {
basic(BasicAuthentication)
}
}
}

publications {
mavenJava(MavenPublication) {
artifactId base.archivesName.get()
groupId = rootProject.property('group')
artifactId = "do-a-barrel-roll"
version = "${project.version}-neoforge"

from components.java
}
}
repositories {
maven {
url "file://" + System.getenv("local_maven")
}
}
}

publishMods {
Expand Down

0 comments on commit 2d2c5f1

Please sign in to comment.