From f9692713f0772aa00c74d49f0ba68446e2d2d278 Mon Sep 17 00:00:00 2001 From: windymelt Date: Thu, 7 Sep 2023 01:34:51 +0900 Subject: [PATCH 1/2] override default sonatype uri and snapshot url. Since 2021, url will be changed --- build.sc | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/build.sc b/build.sc index 0e8a9d1..be69991 100644 --- a/build.sc +++ b/build.sc @@ -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 { From 77a3f503ed10ea5157183af4e9eb9e2cb4ea3a54 Mon Sep 17 00:00:00 2001 From: windymelt Date: Thu, 7 Sep 2023 01:38:34 +0900 Subject: [PATCH 2/2] defined artifact name --- build.sc | 1 + 1 file changed, 1 insertion(+) diff --git a/build.sc b/build.sc index be69991..99d236a 100644 --- a/build.sc +++ b/build.sc @@ -7,6 +7,7 @@ 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"