@@ -23,6 +23,10 @@ ThisBuild / scalaVersion := scala212
23
23
24
24
ThisBuild / githubWorkflowOSes := Seq (" ubuntu-latest" , " macos-latest" , " windows-latest" )
25
25
ThisBuild / githubWorkflowBuild := Seq (WorkflowStep .Sbt (List (" + test" , " scripted" )))
26
+ ThisBuild / githubWorkflowBuildPostamble += WorkflowStep .Run (
27
+ commands = List (""" rm -rf "$HOME/.ivy2/local"""" ),
28
+ name = Some (" Clean up Ivy Local repo" )
29
+ )
26
30
ThisBuild / githubWorkflowJavaVersions ++= Seq (
27
31
JavaSpec .graalvm(Graalvm .Distribution (" graalvm" ), " 17" ),
28
32
JavaSpec .corretto(" 17" )
@@ -47,23 +51,6 @@ ThisBuild / githubWorkflowPublish := Seq(
47
51
)
48
52
)
49
53
50
- // So that publishLocal doesn't continuously create new versions
51
- def versionFmt (out : sbtdynver.GitDescribeOutput ): String = {
52
- val snapshotSuffix = if
53
- (out.isSnapshot()) " -SNAPSHOT"
54
- else " "
55
- out.ref.dropPrefix + snapshotSuffix
56
- }
57
-
58
- def fallbackVersion (d : java.util.Date ): String = s " HEAD- ${sbtdynver.DynVer timestamp d}"
59
-
60
- ThisBuild / version := dynverGitDescribeOutput.value.mkVersion(versionFmt, fallbackVersion(dynverCurrentDate.value))
61
- ThisBuild / dynver := {
62
- val d = new java.util.Date
63
- sbtdynver.DynVer .getGitDescribeOutput(d).mkVersion(versionFmt, fallbackVersion(d))
64
- }
65
-
66
- sbtPlugin := true
67
54
pluginCrossBuild / sbtVersion := {
68
55
scalaBinaryVersion.value match {
69
56
case " 2.12" =>
@@ -130,6 +117,5 @@ ThisBuild / licenses := List("Apache-2.0" -> url("https://www.apache.org/license
130
117
ThisBuild / pomIncludeRepository := { _ =>
131
118
false
132
119
}
133
- ThisBuild / publishTo := sonatypePublishToBundle.value
134
120
ThisBuild / publishMavenStyle := true
135
121
Global / excludeLintKeys ++= Set (pomIncludeRepository, publishMavenStyle)
0 commit comments