@@ -29,8 +29,8 @@ lazy val root = (project in file("."))
29
29
.settings(nocomma {
30
30
mimaPreviousArtifacts := Set .empty
31
31
Compile / packageBin := (launchSub / Proguard / proguard).value.head
32
- packageSrc in Compile := (packageSrc in Compile in launchSub ).value
33
- packageDoc in Compile := (packageDoc in Compile in launchSub ).value
32
+ Compile / packageSrc := (launchSub / Compile / packageSrc ).value
33
+ Compile / packageDoc := (launchSub / Compile / packageDoc ).value
34
34
commands += Command .command(" release" ) { state =>
35
35
" clean" ::
36
36
" test" ::
@@ -50,7 +50,7 @@ lazy val root = (project in file("."))
50
50
// the launcher is published with metadata so that the scripted plugin can pull it in
51
51
// being proguarded, it shouldn't ever be on a classpath with other jars, however
52
52
def proguardedLauncherSettings = Seq (
53
- publishArtifact in packageSrc := false ,
53
+ packageSrc / publishArtifact := false ,
54
54
moduleName := " sbt-launch" ,
55
55
autoScalaLibrary := false ,
56
56
description := " sbt application launcher"
@@ -71,12 +71,12 @@ lazy val launchInterfaceSub = (project in file("launcher-interface"))
71
71
.settings(javaOnly)
72
72
.settings(nocomma {
73
73
name := " Launcher Interface"
74
- resourceGenerators in Compile += Def .task {
74
+ Compile / resourceGenerators += Def .task {
75
75
generateVersionFile(" sbt.launcher.version.properties" )(
76
76
version.value,
77
77
resourceManaged.value,
78
78
streams.value,
79
- (compile in Compile ).value
79
+ (Compile / compile ).value
80
80
)
81
81
}.taskValue
82
82
description := " Interfaces for launching projects with the sbt launcher"
@@ -112,7 +112,7 @@ lazy val launchSub = (project in file("launcher-implementation"))
112
112
Test / compile := {
113
113
val ignore = (testSamples / publishLocal).value
114
114
val ignore2 = (launchInterfaceSub / publishLocal).value
115
- (compile in Test ).value
115
+ (Test / compile ).value
116
116
}
117
117
Proguard / proguardOptions ++= Seq (
118
118
" -keep,allowshrinking class * { *; }" , // no obfuscation
0 commit comments