diff --git a/build/Build.csproj b/build/Build.csproj
index d30897b482..97efd74a08 100644
--- a/build/Build.csproj
+++ b/build/Build.csproj
@@ -8,7 +8,7 @@
-
+
diff --git a/build/Tasks/Build.cs b/build/Tasks/Build.cs
index 67c76bf6b4..353c9e10b1 100644
--- a/build/Tasks/Build.cs
+++ b/build/Tasks/Build.cs
@@ -3,8 +3,8 @@
using Cake.Core;
using Cake.Frosting;
-[Dependency(typeof(Restore))]
-[Dependency(typeof(FormatCode))]
+[IsDependentOn(typeof(Restore))]
+[IsDependentOn(typeof(FormatCode))]
public class Build : FrostingTask
{
public override void Run(Context context)
diff --git a/build/Tasks/ConventionTests.cs b/build/Tasks/ConventionTests.cs
index e1c93d97dc..d79c7c84e9 100644
--- a/build/Tasks/ConventionTests.cs
+++ b/build/Tasks/ConventionTests.cs
@@ -3,7 +3,7 @@
using Cake.Common.Tools.DotNetCore;
using Cake.Frosting;
-[Dependency(typeof(Build))]
+[IsDependentOn(typeof(Build))]
public sealed class ConventionTests : FrostingTask
{
public override void Run(Context context)
@@ -14,4 +14,4 @@ public override void Run(Context context)
context.DotNetCoreTest(project.Path.FullPath, context.GetTestSettings());
}
}
-}
\ No newline at end of file
+}
diff --git a/build/Tasks/Default.cs b/build/Tasks/Default.cs
index cca762bf58..e69c10e224 100644
--- a/build/Tasks/Default.cs
+++ b/build/Tasks/Default.cs
@@ -1,6 +1,6 @@
using Cake.Frosting;
-[Dependency(typeof(TestSourceLink))]
+[IsDependentOn(typeof(TestSourceLink))]
public sealed class Default : FrostingTask
{
-}
\ No newline at end of file
+}
diff --git a/build/Tasks/IntegrationTests.cs b/build/Tasks/IntegrationTests.cs
index 615deb937f..9acafeaef7 100644
--- a/build/Tasks/IntegrationTests.cs
+++ b/build/Tasks/IntegrationTests.cs
@@ -4,7 +4,7 @@
using Cake.Common.Tools.DotNetCore.Test;
using Cake.Frosting;
-[Dependency(typeof(Build))]
+[IsDependentOn(typeof(Build))]
public sealed class IntegrationTests : FrostingTask
{
public override void Run(Context context)
@@ -29,4 +29,4 @@ public override bool ShouldRun(Context context)
return areEnvironmentVariablesSet;
}
-}
\ No newline at end of file
+}
diff --git a/build/Tasks/Package.cs b/build/Tasks/Package.cs
index a2988a4b4d..bbaddd9223 100644
--- a/build/Tasks/Package.cs
+++ b/build/Tasks/Package.cs
@@ -4,9 +4,9 @@
using Cake.Core;
using Cake.Frosting;
-[Dependency(typeof(UnitTests))]
-[Dependency(typeof(ConventionTests))]
-[Dependency(typeof(ValidateLINQPadSamples))]
+[IsDependentOn(typeof(UnitTests))]
+[IsDependentOn(typeof(ConventionTests))]
+[IsDependentOn(typeof(ValidateLINQPadSamples))]
public sealed class Package : FrostingTask
{
public override void Run(Context context)
diff --git a/build/Tasks/Restore.cs b/build/Tasks/Restore.cs
index e7cdb7850a..e84cf90bca 100644
--- a/build/Tasks/Restore.cs
+++ b/build/Tasks/Restore.cs
@@ -3,7 +3,7 @@
using Cake.Core;
using Cake.Frosting;
-[Dependency(typeof(Clean))]
+[IsDependentOn(typeof(Clean))]
public sealed class Restore : FrostingTask
{
public override void Run(Context context)
@@ -14,4 +14,4 @@ public override void Run(Context context)
.Append("/p:Version={0}", context.Version.GetSemanticVersion())
});
}
-}
\ No newline at end of file
+}
diff --git a/build/Tasks/TestSourceLink.cs b/build/Tasks/TestSourceLink.cs
index 34e2f57a54..003c617be5 100644
--- a/build/Tasks/TestSourceLink.cs
+++ b/build/Tasks/TestSourceLink.cs
@@ -6,7 +6,7 @@
using Cake.Core.IO;
using Cake.Frosting;
-[Dependency(typeof(Package))]
+[IsDependentOn(typeof(Package))]
public class TestSourceLink : FrostingTask
{
public override void Run(Context context)
@@ -33,4 +33,4 @@ public override bool ShouldRun(Context context)
{
return context.LinkSources;
}
-}
\ No newline at end of file
+}
diff --git a/build/Tasks/UnitTests.cs b/build/Tasks/UnitTests.cs
index 42584c642a..620cd3838f 100644
--- a/build/Tasks/UnitTests.cs
+++ b/build/Tasks/UnitTests.cs
@@ -3,7 +3,7 @@
using Cake.Common.Tools.DotNetCore;
using Cake.Frosting;
-[Dependency(typeof(Build))]
+[IsDependentOn(typeof(Build))]
public sealed class UnitTests : FrostingTask
{
public override void Run(Context context)
@@ -14,4 +14,4 @@ public override void Run(Context context)
context.DotNetCoreTest(project.Path.FullPath, context.GetTestSettings());
}
}
-}
\ No newline at end of file
+}
diff --git a/build/Tasks/ValidateLINQPadSamples.cs b/build/Tasks/ValidateLINQPadSamples.cs
index b196c6d7d5..1bfaf1b758 100644
--- a/build/Tasks/ValidateLINQPadSamples.cs
+++ b/build/Tasks/ValidateLINQPadSamples.cs
@@ -8,7 +8,7 @@
using Cake.Core.IO;
using Cake.Frosting;
-[Dependency(typeof(Build))]
+[IsDependentOn(typeof(Build))]
public sealed class ValidateLINQPadSamples : FrostingTask
{
public override void Run(Context context)
@@ -109,4 +109,4 @@ private static string RewriteLinqpadScriptToUseLocalAssemblies(string directory,
return tempFilePath;
}
-}
\ No newline at end of file
+}