Skip to content

Commit

Permalink
Merge pull request #267 from SpaceWarpDev/dev
Browse files Browse the repository at this point in the history
Support for KSP2 0.1.5
  • Loading branch information
cheese3660 authored Oct 26, 2023
2 parents fdd046d + 9b27c29 commit c20ee9f
Show file tree
Hide file tree
Showing 13 changed files with 19 additions and 29 deletions.
4 changes: 2 additions & 2 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<SpaceWarpVersion>1.5.1</SpaceWarpVersion>
<TargetFramework>netstandard2.0</TargetFramework>
<SpaceWarpVersion>1.5.2</SpaceWarpVersion>
<TargetFramework>netstandard2.1</TargetFramework>
<RootNamespace>SpaceWarp</RootNamespace>
<LangVersion>11</LangVersion>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
Expand Down
1 change: 0 additions & 1 deletion NuGet.config
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<packageSources>
<add key="BepInEx" value="https://nuget.bepinex.dev/v3/index.json" />
<add key="SpaceWarp" value="https://nuget.spacewarp.org/v3/index.json" />
</packageSources>
</configuration>
8 changes: 3 additions & 5 deletions SpaceWarp.Core/SpaceWarp.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,11 @@
<PackageReference Include="BepInEx.Core" Version="5.4.21" />
<PackageReference Include="BepInEx.PluginInfoProps" Version="2.1.0" PrivateAssets="all" />
<PackageReference Include="HarmonyX" Version="2.10.1" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.4" Publicize="true" PrivateAssets="all" />
<PackageReference Include="Ksp2Uitk" Version="0.3.0" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.5" Publicize="true" PrivateAssets="all" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp" Version="4.5.0" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.1" />
<PackageReference Include="UitkForKsp2" Version="1.2.0" />
<PackageReference Include="UnityEngine.Modules" Version="2020.3.33.1" Publicize="true" />
<PackageReference Include="UnityEngine.UITK" Version="2020.3.33.1" Publicize="true" />
<PackageReference Include="UitkForKsp2" Version="2.0.0" />
<PackageReference Include="UnityEngine.Modules" Version="2022.3.5" Publicize="true" />
</ItemGroup>

<ItemGroup>
Expand Down
2 changes: 1 addition & 1 deletion SpaceWarp.Game/SpaceWarp.Game.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

<ItemGroup>
<PackageReference Include="JsonPeek" Version="1.2.0" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.4" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.5" />
</ItemGroup>
</Project>
6 changes: 0 additions & 6 deletions SpaceWarp.Messaging/SpaceWarp.Messaging.csproj
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
</PropertyGroup>

<ItemGroup>
<ProjectReference Include="..\SpaceWarp.Core\SpaceWarp.Core.csproj" />
</ItemGroup>

</Project>
4 changes: 2 additions & 2 deletions SpaceWarp.Sound/SpaceWarp.Sound.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.1" PrivateAssets="all" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.4" Publicize="true" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.5" Publicize="true" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\SpaceWarp.Core\SpaceWarp.Core.csproj" />
</ItemGroup>
Expand Down
7 changes: 3 additions & 4 deletions SpaceWarp.UI/SpaceWarp.UI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,8 @@

<ItemGroup>
<PackageReference Include="BepInEx.AssemblyPublicizer.MSBuild" Version="0.4.1" PrivateAssets="all" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.4" Publicize="true" />
<PackageReference Include="UitkForKsp2" Version="1.4.0" Publicize="true" />
<PackageReference Include="UnityEngine.Modules" Version="2020.3.33.1" Publicize="true" />
<PackageReference Include="UnityEngine.UITK" Version="2020.3.33.1" Publicize="true" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.5" Publicize="true" />
<PackageReference Include="UitkForKsp2" Version="2.0.0" Publicize="true" />
<PackageReference Include="UnityEngine.Modules" Version="2022.3.5" Publicize="true" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion SpaceWarp.VersionChecking/SpaceWarp.VersionChecking.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.4" />
<PackageReference Include="KerbalSpaceProgram2.GameLibs" Version="0.1.5" />
</ItemGroup>

<ItemGroup>
Expand Down
8 changes: 4 additions & 4 deletions SpaceWarp.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>SpaceWarp</id>
<version>1.5.1</version>
<version>1.5.2</version>
<authors>SpaceWarp contributors</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://raw.githubusercontent.com/SpaceWarp/SpaceWarp/main/LICENSE</licenseUrl>
Expand All @@ -13,14 +13,14 @@
<repository type="git" url="https://github.com/SpaceWarpDev/SpaceWarp" />
<readme>README.md</readme>
<dependencies>
<group targetFramework=".NETStandard2.0" />
<group targetFramework=".NETStandard2.1" />
</dependencies>
</metadata>
<files>
<file src=".github\README.md" target="README.md" />
<file src="images\icon.png" target="icon.png" />
<file src="LICENSE" target="LICENSE" />
<file src="build\nuget_temp\*.dll" target="lib/netstandard2.0/" />
<file src="build\nuget_temp\*.xml" target="lib/netstandard2.0/" />
<file src="build\nuget_temp\*.dll" target="lib/netstandard2.1/" />
<file src="build\nuget_temp\*.xml" target="lib/netstandard2.1/" />
</files>
</package>
Binary file modified SpaceWarpBuildTemplate/assets/bundles/avcdialog.bundle
Binary file not shown.
Binary file modified SpaceWarpBuildTemplate/assets/bundles/modlist.bundle
Binary file not shown.
Binary file modified SpaceWarpBuildTemplate/assets/bundles/swconsole.bundle
Binary file not shown.
6 changes: 3 additions & 3 deletions SpaceWarpBuildTemplate/swinfo.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
"description": "Space-Warp is an API for KSP2 mod developers.",
"source": "https://github.com/SpaceWarpDev/SpaceWarp",
"version_check": "https://raw.githubusercontent.com/SpaceWarpDev/SpaceWarp/main/SpaceWarpBuildTemplate/swinfo.json",
"version": "1.5.1",
"version": "1.5.2",
"dependencies": [
{
"id": "UitkForKsp2",
"version": {
"min": "1.2.0",
"min": "2.0.0",
"max": "*"
}
},
Expand All @@ -24,7 +24,7 @@
}
],
"ksp2_version": {
"min": "0",
"min": "0.1.5.0",
"max": "*"
}
}

0 comments on commit c20ee9f

Please sign in to comment.