From e23233baadeb256755138b8396bbce00b77abc47 Mon Sep 17 00:00:00 2001 From: zhongl Date: Sun, 20 Jun 2021 15:05:28 +0800 Subject: [PATCH] fix syntax. --- build.sbt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/build.sbt b/build.sbt index e8dde0d..b5fcfb1 100644 --- a/build.sbt +++ b/build.sbt @@ -11,13 +11,13 @@ lazy val root = (project in file(".")) name := "passport", scalafmtOnCompile := true, scalacOptions += "-deprecation", - mainClass in Compile := Some("zhongl.passport.Main"), - maintainer in Docker := "zhong.lunfu@gmail.com", + Compile / mainClass := Some("zhongl.passport.Main"), + Docker / maintainer:= "zhong.lunfu@gmail.com", dockerBaseImage := "openjdk:8-alpine", dockerEnvVars := Map("DOCKER_HOST" -> "unix:///var/run/docker.sock"), dockerExposedPorts := Seq(8080), - daemonUserUid in Docker := None, - daemonUser in Docker := "root", + Docker / daemonUserUid := None, + Docker / daemonUser := "root", dockerUsername := Some("zhongl"), dockerUpdateLatest := true, libraryDependencies ++= Seq(