Skip to content

Commit

Permalink
Up IKVM
Browse files Browse the repository at this point in the history
  • Loading branch information
AliveDevil committed Aug 13, 2024
1 parent 49b802d commit 27eebb0
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
13 changes: 9 additions & 4 deletions Directory.Build.Java.props
Original file line number Diff line number Diff line change
@@ -1,10 +1,15 @@
<Project>

<PropertyGroup>
<LangVersion>1.8</LangVersion>
<EnableDefaultItems>false</EnableDefaultItems>
<CompileStatically>true</CompileStatically>
<PropertyGroup Label="IKVM">
<ClassLoader>ikvm.runtime.AppDomainAssemblyClassLoader</ClassLoader>
<EnableDefaultItems>false</EnableDefaultItems>
<LangVersion>1.8</LangVersion>
<Static>true</Static>
</PropertyGroup>

<PropertyGroup Label="MSBuild">
<!-- Skip EmittedNoClassDefFoundError & ClassFormatError -->
<NoWarn>IKVMC0101;IKVMC0111;$(NoWarn)</NoWarn>
</PropertyGroup>

</Project>
2 changes: 1 addition & 1 deletion Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<PackageReference Update="CommunityToolkit.Mvvm" Version="8.2.2" />
<PackageReference Update="DotNetProjects.Extended.Wpf.Toolkit" Version="5.0.100" />
<PackageReference Update="ExceptionReporter " Version="2.4.2" />
<PackageReference Update="IKVM" Version="8.10.0-dev.62" />
<PackageReference Update="IKVM" Version="8.10.0-dev.171" />
<PackageReference Update="Microsoft.Build.Utilities.Core" Version="17.1.0" />
<PackageReference Update="Microsoft.NET.Test.Sdk" Version="17.1.0" />
<PackageReference Update="Microsoft.Toolkit.Uwp.Notifications" Version="7.1.2" />
Expand Down
4 changes: 4 additions & 0 deletions cli/src/main/csharp/ch/cyberduck/cli/WindowsTerminal.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,13 @@
//

using ch.cyberduck.cli;
using ikvm.runtime;
using IKVM.Attributes;
using org.apache.commons.cli;
using Console = System.Console;

[assembly: CustomAssemblyClassLoader(typeof(AppDomainAssemblyClassLoader))]

namespace Ch.Cyberduck.Cli
{
internal class WindowsTerminal : Terminal
Expand Down
2 changes: 1 addition & 1 deletion global.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"msbuild-sdks": {
"IKVM.NET.Sdk": "8.10.0-dev.62",
"IKVM.NET.Sdk": "8.10.0-dev.171",
"Microsoft.Build.NoTargets": "3.3.0",
"Microsoft.Build.Traversal": "3.1.6"
}
Expand Down
1 change: 1 addition & 0 deletions nuget.config
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
</packageSources>
<packageSourceMapping>
<packageSource key="nuget.org">
<package pattern="IKVM.ByteCode" />
<package pattern="*" />
</packageSource>
<packageSource key="gh-iterate-ch">
Expand Down
4 changes: 3 additions & 1 deletion windows/src/main/csharp/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
using System.Runtime.InteropServices;
using ikvm.runtime;
using IKVM.Attributes;

[assembly: System.Windows.ThemeInfo(System.Windows.ResourceDictionaryLocation.None, System.Windows.ResourceDictionaryLocation.SourceAssembly)]
[assembly: CustomAssemblyClassLoader(typeof(AppDomainAssemblyClassLoader))]

0 comments on commit 27eebb0

Please sign in to comment.