Skip to content
This repository was archived by the owner on Jun 20, 2023. It is now read-only.

Commit ff4d15d

Browse files
authored
Explicitly require license at nuget build
1 parent e378220 commit ff4d15d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

build.cake

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -114,11 +114,12 @@ Task("nuget")
114114
.Does(() =>
115115
{
116116
MSBuild ("./generated/AndroidSupport.sln", c => {
117-
c.Configuration = "Release";
118-
c.Targets.Clear();
119-
c.Targets.Add("Pack");
117+
c.Configuration = "Release";
118+
c.Targets.Clear();
119+
c.Targets.Add("Pack");
120120
c.Properties.Add("PackageOutputPath", new [] { MakeAbsolute(new FilePath("./output")).FullPath });
121-
});
121+
c.Properties.Add("PackageRequireLicenseAcceptance", new [] { "true" });
122+
});
122123
});
123124

124125
Task ("diff")

0 commit comments

Comments
 (0)