Skip to content

Commit

Permalink
Use Khloe's manifest builder package for mods ready for 1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
spacechase0 committed May 31, 2023
1 parent a70bc70 commit 833ea1d
Show file tree
Hide file tree
Showing 8 changed files with 105 additions and 52 deletions.
4 changes: 3 additions & 1 deletion FruitTreeCapacityGrowth/FruitTreeCapacityGrowth.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
<Import Project="..\SpaceShared\SpaceShared.projitems" Label="Shared" />

<PropertyGroup>
<Version>1.9.0</Version>
<Name>Fruit Tree Capacity Growth</Name>
<Version>1.0.0</Version>

<TargetFramework>net6.0</TargetFramework>

<EnableHarmony>true</EnableHarmony>
Expand Down
28 changes: 19 additions & 9 deletions FruitTreeCapacityGrowth/manifest.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,19 @@
{
"Name": "Fruit Tree Capacity Growth",
"Author": "spacechase0",
"Version": "1.0.0",
"Description": "...",
"UniqueID": "spacechase0.FruitTreeCapacityGrowth",
"EntryDll": "FruitTreeCapacityGrowth.dll",
"UpdateKeys": [ "Nexus:" ],
}
{
/*
| This file is automatically updated by ModManifestBuilder
| when the project is compiled.
|
| Changes made to this file may be overwritten.
|
*/
"$schema": "https://smapi.io/schemas/manifest.json",
"UniqueID": "spacechase0.FruitTreeCapacityGrowth",
"Name": "Fruit Tree Capacity Growth",
"Author": "spacechase0",
"Version": "1.0.0-Debug",
"Description": "...",
"EntryDll": "FruitTreeCapacityGrowth.dll",
"UpdateKeys": [
"Nexus:"
]
}
9 changes: 9 additions & 0 deletions JsonAssets/JsonAssets.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
<Import Project="..\SpaceSharedPatching\SpaceSharedPatching.projitems" Label="Shared" />

<PropertyGroup>
<Name>Json Assets</Name>
<Description>Lets content packs add custom content to the game.</Description>
<Version>1.11.0</Version>
<UpdateKeys>Nexus:1720</UpdateKeys>

<TargetFramework>net6.0</TargetFramework>

<EnableHarmony>true</EnableHarmony>
Expand All @@ -18,6 +22,11 @@
<ProjectReference Include="..\SpaceCore\SpaceCore.csproj" Private="False" />
</ItemGroup>

<ItemGroup>
<SMAPIDependency Include="Pathoschild.ContentPatcher" Required="false" />
<SMAPIDependency Include="Cherry.ExpandedPreconditionsUtility" Required="false" />
</ItemGroup>

<ItemGroup>
<Folder Include="Utilities\" />
</ItemGroup>
Expand Down
57 changes: 34 additions & 23 deletions JsonAssets/manifest.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,34 @@
{
"Name": "Json Assets",
"Author": "spacechase0",
"Version": "1.11.0",
"MinimumApiVersion": "3.13.0",
"Description": "Lets content packs add custom content to the game.",
"UniqueID": "spacechase0.JsonAssets",
"EntryDll": "JsonAssets.dll",
"UpdateKeys": [ "Nexus:1720" ],
"Dependencies": [
{
"UniqueID": "Pathoschild.ContentPatcher",
"IsRequired": false
},
{
"UniqueID": "spacechase0.SpaceCore"
},
{
"UniqueID": "Cherry.ExpandedPreconditionsUtility",
"IsRequired": false
}
]
}
{
/*
| This file is automatically updated by ModManifestBuilder
| when the project is compiled.
|
| Changes made to this file may be overwritten.
|
*/
"$schema": "https://smapi.io/schemas/manifest.json",
"UniqueID": "spacechase0.JsonAssets",
"Name": "Json Assets",
"Author": "spacechase0",
"Version": "1.11.0-Debug",
"Description": "Lets content packs add custom content to the game.",
"MinimumApiVersion": "3.13.0",
"EntryDll": "JsonAssets.dll",
"Dependencies": [
{
"UniqueID": "Cherry.ExpandedPreconditionsUtility",
"IsRequired": false
},
{
"UniqueID": "Pathoschild.ContentPatcher",
"IsRequired": false
},
{
"UniqueID": "spacechase0.SpaceCore",
"MinimumVersion": "1.13.0"
}
],
"UpdateKeys": [
"Nexus:1720"
]
}
10 changes: 9 additions & 1 deletion SpaceCore/SpaceCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
<Import Project="..\SpaceSharedPatching\SpaceSharedPatching.projitems" Label="Shared" />

<PropertyGroup>
<Version>1.9.0</Version>
<Name>SpaceCore</Name>
<Description>A framework mod used by some of my other mods.</Description>
<Version>1.13.0</Version>
<UpdateKeys>Nexus:1348</UpdateKeys>

<TargetFramework>net6.0</TargetFramework>

<EnableHarmony>true</EnableHarmony>
Expand All @@ -22,6 +26,10 @@
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<PackageReference Include="Pathoschild.Stardew.ModTranslationClassBuilder" Version="2.0.0" PrivateAssets="all" />
</ItemGroup>

<ItemGroup>
<SMAPIDependency Include="Pathoschild.ContentPatcher" Required="false" />
</ItemGroup>

<ItemGroup>
<Reference Include="MiniscriptLib">
Expand Down
42 changes: 26 additions & 16 deletions SpaceCore/manifest.json
Original file line number Diff line number Diff line change
@@ -1,16 +1,26 @@
{
"Name": "SpaceCore",
"Author": "spacechase0",
"Version": "1.13.0",
"MinimumApiVersion": "3.15.0",
"Description": "A framework mod used by some of my other mods.",
"UniqueID": "spacechase0.SpaceCore",
"EntryDll": "SpaceCore.dll",
"UpdateKeys": [ "Nexus:1348" ],
"Dependencies": [
{
"UniqueID": "Pathoschild.ContentPatcher",
"IsRequired": false
}
]
}
{
/*
| This file is automatically updated by ModManifestBuilder
| when the project is compiled.
|
| Changes made to this file may be overwritten.
|
*/
"$schema": "https://smapi.io/schemas/manifest.json",
"UniqueID": "spacechase0.SpaceCore",
"Name": "SpaceCore",
"Author": "spacechase0",
"Version": "1.13.0-Debug",
"Description": "A framework mod used by some of my other mods.",
"MinimumApiVersion": "3.15.0",
"EntryDll": "SpaceCore.dll",
"Dependencies": [
{
"UniqueID": "Pathoschild.ContentPatcher",
"IsRequired": false
}
],
"UpdateKeys": [
"Nexus:1348"
]
}
1 change: 0 additions & 1 deletion Spacechase0.Stardew.sln
Original file line number Diff line number Diff line change
Expand Up @@ -747,7 +747,6 @@ Global
SpaceShared\SpaceShared.projitems*{061610a4-7d02-4f52-a921-f59ed123c2a9}*SharedItemsImports = 13
SpaceSharedPatching\SpaceSharedPatching.projitems*{06fa9172-30ef-41f6-95bc-175f61c8c669}*SharedItemsImports = 5
SpaceShared\SpaceShared.projitems*{06fa9172-30ef-41f6-95bc-175f61c8c669}*SharedItemsImports = 5
SpaceShared\SpaceShared.projitems*{08a9f3c9-c9f5-40cf-bd16-12b06512ad52}*SharedItemsImports = 5
SpaceSharedPatching\SpaceSharedPatching.projitems*{0abed0cb-f0e2-4232-a0de-fd170537c7c8}*SharedItemsImports = 5
SpaceShared\SpaceShared.projitems*{0abed0cb-f0e2-4232-a0de-fd170537c7c8}*SharedItemsImports = 5
SpaceSharedPatching\SpaceSharedPatching.projitems*{100b0e56-6ff4-48ea-97b6-6102cb68931e}*SharedItemsImports = 5
Expand Down
6 changes: 5 additions & 1 deletion common.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!--common project properties-->
<PropertyGroup>
<Authors>Spacechase0</Authors>
<Authors>spacechase0</Authors>
<Description>...</Description>
<UniqueId>spacechase0.$(AssemblyName)</UniqueId>

<PackageLicenseExpression>MIT</PackageLicenseExpression>

<LangVersion>latest</LangVersion>
Expand All @@ -12,6 +15,7 @@
<!--import mod build package-->
<ItemGroup>
<PackageReference Include="Pathoschild.Stardew.ModBuildConfig" Version="4.0.1" />
<PackageReference Include="Leclair.Stardew.ModManifestBuilder" Version="2.1.0" />
</ItemGroup>

<!--common mod build package options-->
Expand Down

0 comments on commit 833ea1d

Please sign in to comment.