@@ -5,6 +5,8 @@ ThisBuild / crossScalaVersions := Seq("2.12.17", scala213, scala3)
5
5
6
6
ThisBuild / tlBaseVersion := " 2.5"
7
7
8
+ ThisBuild / githubWorkflowBuildMatrixFailFast := Some (false )
9
+
8
10
val javaDistro = JavaSpec .corretto(" 11" )
9
11
ThisBuild / githubWorkflowJavaVersions := Seq (javaDistro)
10
12
@@ -23,7 +25,7 @@ ThisBuild / githubWorkflowBuildMatrixInclusions +=
23
25
)
24
26
25
27
val tzdbVersion = " 2019c"
26
- val scalajavaLocalesVersion = " 1.5.1 "
28
+ val scalajavaLocalesVersion = " 1.5.4 "
27
29
Global / onChangedBuildSource := ReloadOnSourceChanges
28
30
29
31
lazy val downloadFromZip : TaskKey [Unit ] =
@@ -142,7 +144,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
142
144
.settings(commonSettings)
143
145
.settings(
144
146
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 " )
146
148
.cross(CrossVersion .for3Use2_13)
147
149
)
148
150
.jsSettings(
@@ -160,6 +162,7 @@ lazy val core = crossProject(JVMPlatform, JSPlatform, NativePlatform)
160
162
)
161
163
)
162
164
.nativeSettings(
165
+ scalacOptions += " -P:scalanative:genStaticForwardersForNonTopLevelObjects" ,
163
166
Compile / sourceGenerators += Def .task {
164
167
val srcDirs = (Compile / sourceDirectories).value
165
168
val destinationDir = (Compile / sourceManaged).value
@@ -175,9 +178,9 @@ lazy val tzdb = crossProject(JVMPlatform, JSPlatform, NativePlatform)
175
178
.in(file(" tzdb" ))
176
179
.settings(commonSettings)
177
180
.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)
181
184
)
182
185
.jsSettings(
183
186
Compile / sourceGenerators += Def .task {
@@ -209,7 +212,7 @@ lazy val tests = crossProject(JVMPlatform, JSPlatform, NativePlatform)
209
212
name := " tests" ,
210
213
Keys .`package` := file(" " ),
211
214
libraryDependencies +=
212
- " org.scalatest" %%% " scalatest" % " 3.2.14 " % Test ,
215
+ " org.scalatest" %%% " scalatest" % " 3.2.18 " % Test ,
213
216
scalacOptions ~= (_.filterNot(
214
217
Set (" -Wnumeric-widen" , " -Ywarn-numeric-widen" , " -Ywarn-value-discard" , " -Wvalue-discard" )
215
218
))
@@ -246,12 +249,12 @@ lazy val demo = crossProject(JSPlatform, JVMPlatform, NativePlatform)
246
249
.dependsOn(core)
247
250
.enablePlugins(TzdbPlugin , NoPublishPlugin )
248
251
.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),
253
256
// 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
255
258
)
256
259
.jsSettings(
257
260
scalaJSUseMainModuleInitializer := true
0 commit comments