From 64c46f2f23d45fa010c6999415d35680f1ec5a43 Mon Sep 17 00:00:00 2001
From: MASES Public Developers Team
<94312179+masesdevelopers@users.noreply.github.com>
Date: Thu, 19 Sep 2024 23:25:41 +0200
Subject: [PATCH] Update to JNet 2.5.9 (#649)
---
.github/workflows/generateclasses.yaml | 9 +++++++--
src/net/KNet/KNet.csproj | 2 +-
src/net/KNetPS/KNetPS.csproj | 2 +-
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/.github/workflows/generateclasses.yaml b/.github/workflows/generateclasses.yaml
index ed62b31fc..f32f23b88 100644
--- a/.github/workflows/generateclasses.yaml
+++ b/.github/workflows/generateclasses.yaml
@@ -91,7 +91,7 @@ jobs:
MAVEN_GPG_PASSPHRASE: ${{ secrets.MAVEN_GPG_PASSPHRASE }}
- name: Download latest published version of JNetReflector
- run: dotnet tool update --version 2.5.8 -g MASES.JNetReflector
+ run: dotnet tool update --version 2.5.9 -g MASES.JNetReflector
if: ${{ inputs.UseLatestJNetReflector == false }}
- name: Build classes with unpublished JNetReflector
@@ -110,7 +110,12 @@ jobs:
env:
JCOBRIDGE_LicensePath: ${{ secrets.JCOBRIDGE_ONLINE }}
- - name: Try compilation
+ - name: Try compilation of Jars
+ continue-on-error: ${{ inputs.ContinueOnLatestJNetReflectorError == true }}
+ if: ${{ inputs.UseLatestJNetReflector == true }}
+ run: mvn --file ./src/jvm/knet/pom.xml --no-transfer-progress package
+
+ - name: Try compilation of C#
continue-on-error: ${{ inputs.ContinueOnLatestJNetReflectorError == true }}
if: ${{ inputs.UseLatestJNetReflector == true }}
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030%3B0618" src\net\KNet\KNet.csproj
diff --git a/src/net/KNet/KNet.csproj b/src/net/KNet/KNet.csproj
index 2269b971c..9916f6fbd 100644
--- a/src/net/KNet/KNet.csproj
+++ b/src/net/KNet/KNet.csproj
@@ -49,7 +49,7 @@
-
+
All
None
diff --git a/src/net/KNetPS/KNetPS.csproj b/src/net/KNetPS/KNetPS.csproj
index 2cf1d628b..cc7faa988 100644
--- a/src/net/KNetPS/KNetPS.csproj
+++ b/src/net/KNetPS/KNetPS.csproj
@@ -42,7 +42,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive