Skip to content

Commit

Permalink
refactor: change publish script3
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy0000 committed Jan 25, 2024
1 parent 5741424 commit 95c7ead
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions idofront-gradle/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ dependencies {
publishing {
repositories {
maven {
val repo = "https://repo.mineinabyss.com/"
val repo = "https://repo.oraxen.com/"
val isSnapshot = System.getenv("IS_SNAPSHOT") == "true"
val url = if (isSnapshot) repo + "snapshots" else repo + "releases"
setUrl(url)
credentials {
username = project.findProperty("mineinabyssMavenUsername") as String?
password = project.findProperty("mineinabyssMavenPassword") as String?
username = project.findProperty("oraxenMavenUsername") as String?
password = project.findProperty("oraxenMavenPassword") as String?
}
}
}
Expand Down

0 comments on commit 95c7ead

Please sign in to comment.