From 7b926e3358f3d1828d53e64f6cf605ecde25e43d Mon Sep 17 00:00:00 2001 From: Keith Alcock Date: Tue, 5 May 2026 19:39:38 -0700 Subject: [PATCH] Touch up sbt files --- build.sbt | 2 +- project/plugins.sbt | 2 +- publish.sbt | 11 ----------- version.sbt | 2 +- 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/build.sbt b/build.sbt index 9470c28..e5768af 100644 --- a/build.sbt +++ b/build.sbt @@ -6,7 +6,7 @@ val scala213 = "2.13.18" // up to 2.13.18 val scala31 = "3.1.3" // up to 3.1.3 // Only the LTS versions are listed next. val scala33 = "3.3.7" // up to 3.3.7 -val scala3 = scala33 +val scala3 = scala31 ThisBuild / crossScalaVersions := Seq(scala212, scala211, scala213, scala3) ThisBuild / scalaVersion := scala212 diff --git a/project/plugins.sbt b/project/plugins.sbt index 02a5ca2..026b586 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -1,4 +1,4 @@ -// Latest version numbers were updated on 2026-05-25. +// Latest version numbers were updated on 2026-05-05. addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.3.1") // up to 2.3.1 addSbtPlugin("com.github.sbt" % "sbt-release" % "1.4.0") // up to 1.4.0 // For constructing the fat jar: diff --git a/publish.sbt b/publish.sbt index 20e064a..8db0102 100644 --- a/publish.sbt +++ b/publish.sbt @@ -1,6 +1,3 @@ -import org.clulab.sbt.DependencyFilter -import org.clulab.sbt.DependencyId - import scala.xml.Node import scala.xml.transform.RuleTransformer @@ -24,14 +21,6 @@ ThisBuild / organizationHomepage := Some(url("http://clulab.org/")) ThisBuild / organizationName := "Computational Language Understanding (CLU) Lab" // The sonatype plugin seems to overwrite these two values. // ThisBuild / pomIncludeRepository := { _ => false } // no longer applicable in sbt 1.6.2+ -ThisBuild / pomPostProcess := { - val logback = DependencyId("ch.qos.logback", "logback-classic") - val rule = DependencyFilter { dependencyId => - dependencyId != logback - } - - (node: Node) => new RuleTransformer(rule).transform(node).head -} // ThisBuild / publishMavenStyle := true // no longer applicable in sbt 1.6.2+ ThisBuild / publishTo := { val useArtifactory = false diff --git a/version.sbt b/version.sbt index 03a8b07..38a1b86 100644 --- a/version.sbt +++ b/version.sbt @@ -1 +1 @@ -version in ThisBuild := "0.2.0-SNAPSHOT" +ThisBuild / version := "0.2.0-SNAPSHOT"