File tree Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Expand file tree Collapse file tree 3 files changed +10
-6
lines changed Original file line number Diff line number Diff line change 1
1
<Project >
2
- <!-- See https://aka.ms/dotnet/msbuild/customize for more details on customizing your build -->
3
2
<PropertyGroup >
4
- <TargetFramework >net8.0</ TargetFramework >
3
+ <TargetFrameworks >net8.0;net9.0</ TargetFrameworks >
5
4
<LangVersion >latest</LangVersion >
6
5
7
6
<ImplicitUsings >enable</ImplicitUsings >
8
7
<Nullable >enable</Nullable >
8
+ <WarningsAsErrors >true</WarningsAsErrors >
9
9
10
+ <IsPackable >false</IsPackable >
11
+ </PropertyGroup >
12
+
13
+ <PropertyGroup >
10
14
<AspireVersion >8.2.0</AspireVersion >
11
15
<AspNetCoreVersion >8.0.7</AspNetCoreVersion >
12
16
<OpenTelemetryVersion >1.9.0</OpenTelemetryVersion >
17
+ </PropertyGroup >
13
18
14
- <IsPackable >false</IsPackable >
15
- </PropertyGroup >
16
19
</Project >
Original file line number Diff line number Diff line change 2
2
<PropertyGroup >
3
3
<ManagePackageVersionsCentrally >true</ManagePackageVersionsCentrally >
4
4
</PropertyGroup >
5
+
5
6
<ItemGroup >
6
7
<!-- Aspire packages -->
7
8
<PackageVersion Include =" Aspire.Hosting" Version =" $(AspireVersion)" />
28
29
<PackageVersion Include =" Microsoft.NET.Test.Sdk" Version =" 17.10.0" />
29
30
<PackageVersion Include =" xunit" Version =" 2.9.0" />
30
31
<PackageVersion Include =" xunit.runner.visualstudio" Version =" 2.8.2" />
31
- <!-- External packages -->
32
+ <!-- Integration packages dependencies -->
32
33
<PackageVersion Include =" OllamaSharp" Version =" 3.0.7" />
33
34
</ItemGroup >
34
35
</Project >
Original file line number Diff line number Diff line change 19
19
<ProjectReference Include =" ..\..\..\src\CommunityToolkit.Aspire.Hosting.Java\CommunityToolkit.Aspire.Hosting.Java.csproj" IsAspireProjectResource =" false" />
20
20
</ItemGroup >
21
21
22
- <Target Name =" PublishRunMaven" AfterTargets =" Build" >
22
+ <Target Name =" PublishRunMaven" AfterTargets =" Build" Condition = " '$(TargetFramework)' == 'net8.0' " >
23
23
<!-- As part of publishing, ensure the Java app is freshly built -->
24
24
<Exec WorkingDirectory =" $(JavaAppRoot)" Command =" ./mvnw --quiet clean package" />
25
25
</Target >
You can’t perform that action at this time.
0 commit comments