@@ -5,6 +5,8 @@ ThisBuild / crossScalaVersions := Seq("2.12.17", scala213, scala3)
55
66ThisBuild / tlBaseVersion := " 2.5"
77
8+ ThisBuild / githubWorkflowBuildMatrixFailFast := Some (false )
9+
810val javaDistro = JavaSpec .corretto(" 11" )
911ThisBuild / githubWorkflowJavaVersions := Seq (javaDistro)
1012
@@ -23,7 +25,7 @@ ThisBuild / githubWorkflowBuildMatrixInclusions +=
2325 )
2426
2527val tzdbVersion = " 2019c"
26- val scalajavaLocalesVersion = " 1.5.1 "
28+ val scalajavaLocalesVersion = " 1.5.4 "
2729Global / onChangedBuildSource := ReloadOnSourceChanges
2830
2931lazy val downloadFromZip : TaskKey [Unit ] =
@@ -142,7 +144,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
142144 .settings(commonSettings)
143145 .settings(
144146 name := " scala-java-time" ,
145- libraryDependencies += (" org.portable-scala" %%% " portable-scala-reflect" % " 1.1.2 " )
147+ libraryDependencies += (" org.portable-scala" %%% " portable-scala-reflect" % " 1.1.3 " )
146148 .cross(CrossVersion .for3Use2_13)
147149 )
148150 .jsSettings(
@@ -160,6 +162,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
160162 )
161163 )
162164 .nativeSettings(
165+ scalacOptions += " -P:scalanative:genStaticForwardersForNonTopLevelObjects" ,
163166 Compile / sourceGenerators += Def .task {
164167 val srcDirs = (Compile / sourceDirectories).value
165168 val destinationDir = (Compile / sourceManaged).value
@@ -175,9 +178,9 @@ lazy val tzdb = crossProject(JVMPlatform, JSPlatform, NativePlatform)
175178 .in(file(" tzdb" ))
176179 .settings(commonSettings)
177180 .settings(
178- name := " scala-java-time-tzdb" ,
179- includeTTBP := true ,
180- dbVersion := TzdbPlugin .Version (tzdbVersion),
181+ name := " scala-java-time-tzdb" ,
182+ includeTTBP := true ,
183+ dbVersion := TzdbPlugin .Version (tzdbVersion)
181184 )
182185 .jsSettings(
183186 Compile / sourceGenerators += Def .task {
@@ -209,7 +212,7 @@ lazy val tests = crossProject(JVMPlatform, JSPlatform, NativePlatform)
209212 name := " tests" ,
210213 Keys .`package` := file(" " ),
211214 libraryDependencies +=
212- " org.scalatest" %%% " scalatest" % " 3.2.14 " % Test ,
215+ " org.scalatest" %%% " scalatest" % " 3.2.18 " % Test ,
213216 scalacOptions ~= (_.filterNot(
214217 Set (" -Wnumeric-widen" , " -Ywarn-numeric-widen" , " -Ywarn-value-discard" , " -Wvalue-discard" )
215218 ))
@@ -246,12 +249,12 @@ lazy val demo = crossProject(JSPlatform, JVMPlatform, NativePlatform)
246249 .dependsOn(core)
247250 .enablePlugins(TzdbPlugin , NoPublishPlugin )
248251 .settings(
249- name := " demo" ,
250- Keys .`package` := file(" " ),
251- zonesFilter := zonesFilterFn,
252- dbVersion := TzdbPlugin .Version (tzdbVersion),
252+ name := " demo" ,
253+ Keys .`package` := file(" " ),
254+ zonesFilter := zonesFilterFn,
255+ dbVersion := TzdbPlugin .Version (tzdbVersion),
253256 // delegate test to run, so that it is invoked during test step in ci
254- Test / test := (Compile / run).toTask(" " ).value
257+ Test / test := (Compile / run).toTask(" " ).value
255258 )
256259 .jsSettings(
257260 scalaJSUseMainModuleInitializer := true
0 commit comments