Skip to content

Commit

Permalink
Merge pull request #3 from windymelt/changerepositoryinfo
Browse files Browse the repository at this point in the history
override default sonatype uri and snapshot url.
  • Loading branch information
windymelt authored Sep 6, 2023
2 parents c961629 + 77a3f50 commit 1e81444
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,21 @@ import publish._

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

override def artifactName = "qw"
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 1e81444

Please sign in to comment.