From c3b9ef5516d5e47b2c48ace85995dcf674d82cf1 Mon Sep 17 00:00:00 2001 From: Richie Caputo Date: Thu, 24 Apr 2025 12:54:25 -0400 Subject: [PATCH 1/2] Add `.env` support --- .gitignore | 5 ++++- .jvmopts | 2 ++ project/plugins.sbt | 5 ++++- 3 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 .jvmopts diff --git a/.gitignore b/.gitignore index 724ff67..b964228 100644 --- a/.gitignore +++ b/.gitignore @@ -49,4 +49,7 @@ build/ .scala-build ### Diff ### -changes.txt \ No newline at end of file +*.txt + +### Environment ### +.env \ No newline at end of file diff --git a/.jvmopts b/.jvmopts new file mode 100644 index 0000000..bd71177 --- /dev/null +++ b/.jvmopts @@ -0,0 +1,2 @@ +--add-opens=java.base/java.util=ALL-UNNAMED +--add-opens=java.base/java.lang=ALL-UNNAMED \ No newline at end of file diff --git a/project/plugins.sbt b/project/plugins.sbt index d764e4c..9f3d6d8 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -8,4 +8,7 @@ addSbtPlugin("com.github.sbt" % "sbt-github-actions" % "0.25.0") addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.3") // Code‑coverage support -addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1") \ No newline at end of file +addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.3.1") + +// .env support +addSbtPlugin("nl.gn0s1s" % "sbt-dotenv" % "3.1.1") \ No newline at end of file From 627ee962e3919329bf1fad94b85078b906a3e7a1 Mon Sep 17 00:00:00 2001 From: Richie Caputo Date: Thu, 24 Apr 2025 15:07:26 -0400 Subject: [PATCH 2/2] Remove coverage for release --- build.sbt | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/build.sbt b/build.sbt index 5d7b984..7ee0751 100644 --- a/build.sbt +++ b/build.sbt @@ -1,8 +1,11 @@ import xerial.sbt.Sonatype.sonatypeCentralHost +import xerial.sbt.Sonatype.autoImport.* + +sonatypeTimeoutMillis := 60000 ThisBuild / sonatypeCredentialHost := sonatypeCentralHost -ThisBuild / version := "0.1.0-RC1" +ThisBuild / version := "0.1.0-RC2" ThisBuild / scalaVersion := "3.6.4" // Using Scala 3 ThisBuild / versionScheme := Some("semver-spec") @@ -120,7 +123,7 @@ ThisBuild / githubWorkflowBuildPreamble ++= Seq( ) // Enable coverage - no minimum coverage yet -coverageEnabled := true +coverageEnabled := false coverageFailOnMinimum := false // coverageMinimumStmtTotal := 60 coverageHighlighting := true // default; false is faster but less precise