Skip to content

Commit 1e81444

Browse files
authored
Merge pull request #3 from windymelt/changerepositoryinfo
override default sonatype uri and snapshot url.
2 parents c961629 + 77a3f50 commit 1e81444

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

build.sc

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,21 @@ import publish._
66

77
object qw extends RootModule with ScalaModule with PublishModule {
88
def scalaVersion = "3.3.0"
9+
10+
override def artifactName = "qw"
11+
override def sonatypeUri = "https://s01.oss.sonatype.org/service/local"
12+
override def sonatypeSnapshotUri =
13+
"https://s01.oss.sonatype.org/content/repositories/snapshots"
914
def pomSettings = PomSettings(
10-
description = artifactName(),
11-
organization = "io.github.windymelt",
12-
url = "https://github.com/windymelt/qw.scala",
13-
licenses = Seq(License.MIT),
14-
versionControl = VersionControl.github("windymelt", "qw.scala"),
15-
developers = Seq(
16-
Developer("windymelt", "windymelt", "https://github.com/windymelt")
17-
)
15+
description = artifactName(),
16+
organization = "io.github.windymelt",
17+
url = "https://github.com/windymelt/qw.scala",
18+
licenses = Seq(License.MIT),
19+
versionControl = VersionControl.github("windymelt", "qw.scala"),
20+
developers = Seq(
21+
Developer("windymelt", "windymelt", "https://github.com/windymelt")
1822
)
23+
)
1924
override def publishVersion: T[String] = VcsVersion.vcsState().format()
2025

2126
object test extends ScalaTests with TestModule.Munit {

0 commit comments

Comments
 (0)