Skip to content

Commit

Permalink
Fix few deprecations
Browse files Browse the repository at this point in the history
  • Loading branch information
v6ak committed Sep 21, 2023
1 parent 6c31d13 commit 9b9c792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ lazy val server = (project in file("server")).settings(
val allYearsListJsonFile = write(genHtmlDir.value / "years.json.new", PageGenerator.allYearsJsonString)
yearHtmlFiles :+ allYearsListJsonFile
}.taskValue,
resourceGenerators in Assets += Def.task {
Assets / resourceGenerators += Def.task {
for(year <- PageGenerator.Years if year.dataSource.csvDownloadUrl startsWith "https://") yield {
download(
out = genHtmlDir.value / s"${year.year}" / PublicDirName / s"${year.year}.csv",
Expand All @@ -99,7 +99,7 @@ lazy val server = (project in file("server")).settings(
case (file, name) => (file, PublicDirName + "/" + name)
}
},
includeFilter in simpleUrlUpdate := "*.css" || "*.js" || "*.html",
simpleUrlUpdate / includeFilter := "*.css" || "*.js" || "*.html",
// triggers scalaJSPipeline when using compile or continuous compilation
compile in Compile <<= (compile in Compile) dependsOn scalaJSPipeline,
Concat.groups := Seq(
Expand Down

0 comments on commit 9b9c792

Please sign in to comment.