Skip to content

Commit

Permalink
override default sonatype uri and snapshot url.
Browse files Browse the repository at this point in the history
Since 2021, url will be changed
  • Loading branch information
windymelt committed Sep 6, 2023
1 parent c961629 commit f969271
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,20 @@ import publish._

object qw extends RootModule with ScalaModule with PublishModule {
def scalaVersion = "3.3.0"

override def sonatypeUri = "https://s01.oss.sonatype.org/service/local"
override def sonatypeSnapshotUri =
"https://s01.oss.sonatype.org/content/repositories/snapshots"
def pomSettings = PomSettings(
description = artifactName(),
organization = "io.github.windymelt",
url = "https://github.com/windymelt/qw.scala",
licenses = Seq(License.MIT),
versionControl = VersionControl.github("windymelt", "qw.scala"),
developers = Seq(
Developer("windymelt", "windymelt", "https://github.com/windymelt")
)
description = artifactName(),
organization = "io.github.windymelt",
url = "https://github.com/windymelt/qw.scala",
licenses = Seq(License.MIT),
versionControl = VersionControl.github("windymelt", "qw.scala"),
developers = Seq(
Developer("windymelt", "windymelt", "https://github.com/windymelt")
)
)
override def publishVersion: T[String] = VcsVersion.vcsState().format()

object test extends ScalaTests with TestModule.Munit {
Expand Down

0 comments on commit f969271

Please sign in to comment.