prep for 1.5

This commit is contained in:
Stardust3D 2024-04-12 17:11:46 +02:00
parent 7a160541f3
commit 54e15b5ac4
7 changed files with 16 additions and 4 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -6,6 +6,7 @@
<supportedVersions> <supportedVersions>
<li>1.3</li> <li>1.3</li>
<li>1.4</li> <li>1.4</li>
<li>1.5</li>
</supportedVersions> </supportedVersions>
<packageId>Stardust3D.RJW.patch.Autopsy</packageId> <packageId>Stardust3D.RJW.patch.Autopsy</packageId>
<description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts. <description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.

View file

@ -6,6 +6,7 @@
<supportedVersions> <supportedVersions>
<li>1.3</li> <li>1.3</li>
<li>1.4</li> <li>1.4</li>
<li>1.5</li>
</supportedVersions> </supportedVersions>
<packageId>Stardust3D.RJW.patch.Autopsy</packageId> <packageId>Stardust3D.RJW.patch.Autopsy</packageId>
<description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts. <description>This is a compatibility patch to enable 'Harvest Organs post mortem'/Autopsy to yield RJW bodyparts.

View file

@ -31,15 +31,15 @@
<ItemGroup> <ItemGroup>
<PackageReference Include="Lib.Harmony" Version="2.3.3" /> <PackageReference Include="Lib.Harmony" Version="2.3.3" />
<PackageReference Include="Microsoft.CSharp" Version="4.7.0"/> <PackageReference Include="Microsoft.CSharp" Version="4.7.0"/>
<PackageReference Include="Krafs.Rimworld.Ref" Version="1.5.4055-beta" /> <PackageReference Include="Krafs.Rimworld.Ref" Version="1.5.4062" />
<PackageReference Include="UnlimitedHugs.Rimworld.HugsLib" Version="11.0.3" /> <PackageReference Include="UnlimitedHugs.Rimworld.HugsLib" Version="11.0.3" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Reference Include="Autopsy"> <Reference Include="Autopsy">
<HintPath>..\..\..\RimwoldAutopsy\1.5\Assemblies\Autopsy.dll</HintPath> <HintPath>..\..\..\RimwoldAutopsy\1.4\Assemblies\Autopsy.dll</HintPath>
</Reference> </Reference>
<Reference Include="RJW"> <Reference Include="RJW">
<HintPath>..\..\..\rjw-base\1.5\Assemblies\RJW.dll</HintPath> <HintPath>..\..\..\rjw-base\1.4\Assemblies\RJW.dll</HintPath>
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

View file

@ -105,7 +105,7 @@ tasks.register<Exec>("sign_1.5") {
} }
tasks.register("copy") { tasks.register("copy") {
dependsOn("copy_1.3", "copy_1.4", "copy_about") dependsOn("copy_1.3", "copy_1.4", "copy_1.5", "copy_about")
} }
tasks.register<Copy>("copy_about") { tasks.register<Copy>("copy_about") {
@ -125,6 +125,12 @@ tasks.register<Copy>("copy_1.4") {
into(project.projectDir.parentFile.resolve("1.4")) into(project.projectDir.parentFile.resolve("1.4"))
} }
tasks.register<Copy>("copy_1.5") {
dependsOn("copyDll_1.5")
from(project.projectDir.resolve("${rootProject.name}/1.5"))
into(project.projectDir.parentFile.resolve("1.5"))
}
tasks.register<Copy>("copyDll_1.3") { tasks.register<Copy>("copyDll_1.3") {
dependsOn("sign_1.3") dependsOn("sign_1.3")
from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net48/${rootProject.name}.dll")) from(project.projectDir.resolve("${rootProject.name}/bin/Release/1.3/net48/${rootProject.name}.dll"))
@ -151,6 +157,9 @@ tasks.register<Zip>("buildZip") {
into("$friendlyName/1.4") { into("$friendlyName/1.4") {
from(project.projectDir.parentFile.resolve("1.4")) from(project.projectDir.parentFile.resolve("1.4"))
} }
into("$friendlyName/1.5") {
from(project.projectDir.parentFile.resolve("1.5"))
}
into("$friendlyName/About") { into("$friendlyName/About") {
from(project.projectDir.parentFile.resolve("About")) from(project.projectDir.parentFile.resolve("About"))
} }
@ -166,6 +175,7 @@ tasks.register<Zip>("buildZip") {
tasks.clean { tasks.clean {
delete.add(project.projectDir.parentFile.resolve("1.3")) delete.add(project.projectDir.parentFile.resolve("1.3"))
delete.add(project.projectDir.parentFile.resolve("1.4")) delete.add(project.projectDir.parentFile.resolve("1.4"))
delete.add(project.projectDir.parentFile.resolve("1.5"))
delete.add(project.projectDir.parentFile.resolve("About")) delete.add(project.projectDir.parentFile.resolve("About"))
} }