@@ -53,14 +53,14 @@ val root = project("scala-native-bindgen")
5353 )
5454 .enablePlugins(ReleasePlugin )
5555 .settings(
56- skip in publish := true ,
56+ publish / skip := true ,
5757 releaseCrossBuild := false ,
5858 releaseVersionFile := target.value / " unused-version.sbt" ,
5959 releaseProcess := {
6060 import ReleaseTransformations ._
6161 Seq [ReleaseStep ](
6262 checkSnapshotDependencies,
63- setReleaseVersions(version.in( ThisBuild ). value),
63+ setReleaseVersions(version.value),
6464 runClean,
6565 releaseStepCommandAndRemaining(" verify" ),
6666 setReleaseVersion,
@@ -75,9 +75,9 @@ val root = project("scala-native-bindgen")
7575lazy val tests = project(" tests" )
7676 .dependsOn(tools)
7777 .settings(
78- skip in publish := true ,
79- fork in Test := true ,
80- javaOptions in Test += {
78+ publish / skip := true ,
79+ Test / fork := true ,
80+ Test / javaOptions += {
8181 val rootDir = (ThisBuild / baseDirectory).value
8282 s " -Dbindgen.path= $rootDir/bindgen/target/scala-native-bindgen "
8383 },
@@ -93,7 +93,7 @@ lazy val samples = project("samples")
9393 .in(file(" tests/samples" ))
9494 .enablePlugins(ScalaNativePlugin )
9595 .settings(
96- skip in publish := true ,
96+ publish / skip := true ,
9797 scalaVersion := Versions .scala211,
9898 libraryDependencies += " com.lihaoyi" %%% " utest" % " 0.6.3" % " test" ,
9999 testFrameworks += new TestFramework (" utest.runner.Framework" ),
@@ -158,8 +158,8 @@ lazy val sbtPlugin = project("sbt-scala-native-bindgen", ScriptedPlugin)
158158lazy val docs = project(" docs" )
159159 .enablePlugins(GhpagesPlugin , ParadoxSitePlugin , ParadoxMaterialThemePlugin )
160160 .settings(
161- skip in publish := true ,
162- paradoxProperties in Paradox ++= Map (
161+ publish / skip := true ,
162+ Paradox / paradoxProperties ++= Map (
163163 " github.base_url" -> scmInfo.value.get.browseUrl.toString
164164 ),
165165 ParadoxMaterialThemePlugin .paradoxMaterialThemeSettings(Paradox ),
@@ -194,7 +194,7 @@ def project(name: String, plugged: AutoPlugin*) = {
194194 else " maven"
195195 },
196196 publishMavenStyle := Keys .sbtPlugin.value == false ,
197- publishArtifact in Test := false
197+ Test / publishArtifact := false
198198 )
199199}
200200
0 commit comments