From 64feea8fef2b34389d4ae916c46bcf8173fd32ce Mon Sep 17 00:00:00 2001 From: xuwei-k <6b656e6a69@gmail.com> Date: Tue, 22 Oct 2024 20:43:25 +0900 Subject: [PATCH] add more scala-3 artifacts --- .../main/resources/default.scala-steward.conf | 86 +++++++++++++------ .../org/scalasteward/core/data/package.scala | 17 ++-- 2 files changed, 74 insertions(+), 29 deletions(-) diff --git a/modules/core/src/main/resources/default.scala-steward.conf b/modules/core/src/main/resources/default.scala-steward.conf index 14e0ff69b..ad8fa7792 100644 --- a/modules/core/src/main/resources/default.scala-steward.conf +++ b/modules/core/src/main/resources/default.scala-steward.conf @@ -31,39 +31,77 @@ updates.ignore = [ // Artifacts below are ignored because they are not yet announced. // Ignore the next Scala 3 Next (3.x.0) version until it is announced. - { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.7.0" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.7.0" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.7.0" } }, - { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala2-library-cc-tasty-experimental", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala2-library-tasty-experimental", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-language-server", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-presentation-compiler", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-staging", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-tasty-inspector", version = { exact = "3.7.0" } }, + { groupId = "org.scala-lang", artifactId = "scaladoc", version = { exact = "3.7.0" } }, // Ignore the next Scala 3 Next version until it is announced. - { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.6.1" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.6.1" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.6.1" } }, - { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala2-library-cc-tasty-experimental", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala2-library-tasty-experimental", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala3-language-server", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala3-presentation-compiler", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala3-staging", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scala3-tasty-inspector", version = { exact = "3.6.1" } }, + { groupId = "org.scala-lang", artifactId = "scaladoc", version = { exact = "3.6.1" } }, - { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.5.2" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.5.2" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.5.2" } }, - { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala2-library-cc-tasty-experimental", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala2-library-tasty-experimental", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-language-server", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-presentation-compiler", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-staging", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-tasty-inspector", version = { exact = "3.5.2" } }, + { groupId = "org.scala-lang", artifactId = "scaladoc", version = { exact = "3.5.2" } }, // Ignore the next Scala 3 LTS version until it is announced. - { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.3.5" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.3.5" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.3.5" } }, - { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "scala3-language-server", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "scala3-presentation-compiler", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "scala3-staging", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "scala3-tasty-inspector", version = { exact = "3.3.5" } }, + { groupId = "org.scala-lang", artifactId = "scaladoc", version = { exact = "3.3.5" } }, // Ignore the 3.6.0 version as it is abandoned due to broken compatibility - { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.6.0" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.6.0" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.6.0" } }, - { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala2-library-cc-tasty-experimental", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala2-library-tasty-experimental", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-language-server", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-presentation-compiler", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-staging", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scala3-tasty-inspector", version = { exact = "3.6.0" } }, + { groupId = "org.scala-lang", artifactId = "scaladoc", version = { exact = "3.6.0" } }, // Ignore the 3.3.2 version as it is abandoned due to broken compatibility - { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.3.2" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.3.2" } }, - { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.3.2" } }, - { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-compiler", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-library_sjs1", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "tasty-core", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-language-server", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-presentation-compiler", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-staging", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "scala3-tasty-inspector", version = { exact = "3.3.2" } }, + { groupId = "org.scala-lang", artifactId = "scaladoc", version = { exact = "3.3.2" } }, // Ignore the next Scala 2.13 version until it is announced. { groupId = "org.scala-lang", artifactId = "scala-compiler", version = { exact = "2.13.16" } }, diff --git a/modules/core/src/main/scala/org/scalasteward/core/data/package.scala b/modules/core/src/main/scala/org/scalasteward/core/data/package.scala index 01066c49e..8e2cba607 100644 --- a/modules/core/src/main/scala/org/scalasteward/core/data/package.scala +++ b/modules/core/src/main/scala/org/scalasteward/core/data/package.scala @@ -29,11 +29,18 @@ package object data { val scala3LangModules: List[(GroupId, ArtifactId)] = List( - (scalaLangGroupId, ArtifactId("scala3-compiler")), - (scalaLangGroupId, ArtifactId("scala3-library")), - (scalaLangGroupId, ArtifactId("scala3-library_sjs1")), - (scalaLangGroupId, ArtifactId("tasty-core")) - ) + "scala3-compiler", + "scala3-library", + "scala3-library_sjs1", + "scala2-library-cc-tasty-experimental", + "scala2-library-tasty-experimental", + "scala3-language-server", + "scala3-presentation-compiler", + "scala3-staging", + "scala3-tasty-inspector", + "scaladoc", + "tasty-core" + ).map(artifactId => (scalaLangGroupId, ArtifactId(artifactId))) val scalaLangModules: List[(GroupId, ArtifactId)] = scala2LangModules ++ scala3LangModules