Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into 53-centralize-bet…
Browse files Browse the repository at this point in the history
…ter-versioning-2-1-0
  • Loading branch information
masesdevelopers committed Nov 25, 2023
2 parents 74d8acc + 2b19c87 commit d905d1c
Show file tree
Hide file tree
Showing 16 changed files with 61 additions and 90 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase

- name: Install local file to be used within Javadoc plugin of generated POM
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.8 -Dpackaging=jar -Dfile=../../../bin/net6.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.9 -Dpackaging=jar -Dfile=../../../bin/net8.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
shell: bash

- name: Create Jars
Expand Down Expand Up @@ -117,8 +117,8 @@ jobs:
fetch-depth: '1'
submodules: 'true'

- name: Pre compile templates
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\JNetTemplates.sln
- name: Pre compile tests and templates
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" tests\net\JNetTest.sln

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\JNet\JNet.csproj
Expand All @@ -136,7 +136,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase

- name: Install local file to be used within Javadoc plugin of generated POM
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.8 -Dpackaging=jar -Dfile=../../../bin/net6.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.9 -Dpackaging=jar -Dfile=../../../bin/net8.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
shell: bash

- name: Create Jars
Expand Down
12 changes: 1 addition & 11 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,16 +77,6 @@ jobs:
# Prefix the list here with "+" to use these queries and those in the config file.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# Install .NET SDKs
- name: Setup .NET Core 3.1
uses: actions/setup-dotnet@v3
with:
dotnet-version: 3.1.x
- name: Setup .NET 6.0
uses: actions/setup-dotnet@v3
with:
dotnet-version: 6.0.x

# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
Expand Down Expand Up @@ -118,7 +108,7 @@ jobs:

- name: Maven preparation (step 2)
if: matrix.language == 'java'
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.8 -Dpackaging=jar -Dfile=../../../bin/net6.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.9 -Dpackaging=jar -Dfile=../../../bin/net6.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
shell: bash

- if: matrix.language == 'java'
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pullrequest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase

- name: Install local file to be used within Javadoc plugin of generated POM
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.8 -Dpackaging=jar -Dfile=../../../bin/net6.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.9 -Dpackaging=jar -Dfile=../../../bin/net8.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
shell: bash

- name: Create Jars
Expand Down Expand Up @@ -98,8 +98,8 @@ jobs:
fetch-depth: '1'
submodules: 'true'

- name: Pre compile templates
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\JNetTemplates.sln
- name: Pre compile tests and templates
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" tests\net\JNetTest.sln

- name: Pre compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" /p:NoWarn="0108%3B1030" src\net\JNet\JNet.csproj
Expand All @@ -117,7 +117,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase

- name: Install local file to be used within Javadoc plugin of generated POM
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.8 -Dpackaging=jar -Dfile=../../../bin/net6.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.9 -Dpackaging=jar -Dfile=../../../bin/net8.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
shell: bash

- name: Create Jars
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase

- name: Install local file to be used within Javadoc plugin of generated POM
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.8 -Dpackaging=jar -Dfile=../../../bin/net6.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.9 -Dpackaging=jar -Dfile=../../../bin/net8.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
shell: bash

- name: Create Jars
Expand Down Expand Up @@ -102,7 +102,7 @@ jobs:
gpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase

- name: Install local file to be used within Javadoc plugin of generated POM
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.8 -Dpackaging=jar -Dfile=../../../bin/net6.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
run: mvn install:install-file -DgroupId=JCOBridge -DartifactId=JCOBridge -Dversion=2.5.9 -Dpackaging=jar -Dfile=../../../bin/net8.0/JCOBridge.jar -f ./src/jvm/jnet/pom.xml
shell: bash

- name: Create Jars
Expand Down
2 changes: 1 addition & 1 deletion src/jvm/jnet/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
<maven.compiler.target>11</maven.compiler.target>
<classpathfile>${basedir}/classpathfile.classpath</classpathfile>
<jnetversion>2.1.0.0</jnetversion>
<jcobridgeversion>2.5.8</jcobridgeversion>
<jcobridgeversion>2.5.9</jcobridgeversion>
</properties>
<distributionManagement>
<snapshotRepository>
Expand Down
4 changes: 2 additions & 2 deletions src/net/Common/Common.props
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</PropertyGroup>
<PropertyGroup Condition="'$(JNET_DOCKER_BUILD_ACTIONS)' != 'true'">
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<TargetFrameworks>net462;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net462;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>
<PropertyGroup Condition="'$(JNET_DOCKER_BUILD_ACTIONS)' == 'true'">
<GeneratePackageOnBuild>false</GeneratePackageOnBuild>
Expand All @@ -35,7 +35,7 @@
<None Include="..\Common\JNet.snk" Link="JNet.snk" />
</ItemGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="7.0.0"/>
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="8.0.0"/>
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<!-- Fix start https://github.com/dotnet/sourcelink/issues/572 -->
Expand Down
6 changes: 3 additions & 3 deletions src/net/JNet/JNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,11 @@
<None Remove="Generated\Java\Util\Function\**" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MASES.CLIParser" Version="3.1.2" />
<PackageReference Include="MASES.JCOBridge" Version="2.5.8">
<PackageReference Include="MASES.CLIParser" Version="3.2.0" />
<PackageReference Include="MASES.JCOBridge" Version="2.5.9">
<IncludeAssets>All</IncludeAssets>
<PrivateAssets>None</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>
4 changes: 2 additions & 2 deletions src/net/JNetCLI/JNetCLI.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
<IncludeAssets>All</IncludeAssets>
<PrivateAssets>None</PrivateAssets>
</ProjectReference>
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.7.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.Scripting" Version="4.8.0" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/net/JNetPSCore/JNetPSCore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@
<PackageReference Include="PowerShellStandard.Library" Version="5.1.1">
<PrivateAssets>All</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>
6 changes: 3 additions & 3 deletions src/net/JNetReflector/JNetReflector.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -147,12 +147,12 @@
<EmbeddedResource Include="Templates\AllPackageClasses.template" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MASES.CLIParser" Version="3.1.2" />
<PackageReference Include="MASES.JCOBridge" Version="2.5.8">
<PackageReference Include="MASES.CLIParser" Version="3.2.0" />
<PackageReference Include="MASES.JCOBridge" Version="2.5.9">
<IncludeAssets>All</IncludeAssets>
<PrivateAssets>None</PrivateAssets>
</PackageReference>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<Folder Include="Java\Lang\Annotation\" />
Expand Down
53 changes: 0 additions & 53 deletions src/net/JNetTemplates.sln

This file was deleted.

2 changes: 1 addition & 1 deletion src/net/templates/templatepack.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
<Compile Remove="**\*" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="8.0.0" PrivateAssets="All" />
</ItemGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
<Reference Include="Microsoft.CSharp" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="MASES.JCOBridge" Version="2.5.8" IncludeAssets="All" PrivateAssets="None" />
<PackageReference Include="MASES.JCOBridge" Version="2.5.9" IncludeAssets="All" PrivateAssets="None" />
</ItemGroup>
</Project>
2 changes: 1 addition & 1 deletion src/net/templates/templates/jnetAWTApp/jnetAWTApp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net462;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net462;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<Reference Include="Microsoft.CSharp" />
Expand Down
2 changes: 1 addition & 1 deletion src/net/templates/templates/jnetApp/jnetApp.csproj
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFrameworks>net462;net6.0;net7.0</TargetFrameworks>
<TargetFrameworks>net462;net6.0;net7.0;net8.0</TargetFrameworks>
</PropertyGroup>
<ItemGroup Condition="'$(TargetFramework)' == 'net462'">
<Reference Include="Microsoft.CSharp" />
Expand Down
34 changes: 34 additions & 0 deletions tests/net/JNetTest.sln
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,18 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JNet", "..\..\src\net\JNet\
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "JNetReflectorGenerated", "JNetReflectorGenerated\JNetReflectorGenerated.csproj", "{D417C2E0-E317-4547-969F-1C21E031478A}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Common", "Common", "{1BF0B566-4513-405A-BF67-76E826EA6DA0}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Templates", "Templates", "{D622CE4D-8CE5-486A-9AAE-97AC093122C7}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "jcobridgeConsoleApp", "..\..\src\net\templates\templates\jcobridgeConsoleApp\jcobridgeConsoleApp.csproj", "{6F8234A7-1336-49D9-A68A-3327DFBDFCDD}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "jnetApp", "..\..\src\net\templates\templates\jnetApp\jnetApp.csproj", "{17DC32BC-9C75-4846-B08D-D90241B71436}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "jnetAWTApp", "..\..\src\net\templates\templates\jnetAWTApp\jnetAWTApp.csproj", "{BD61B857-1919-4546-8B87-3F525BF269F1}"
EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Tests", "Tests", "{360FAD84-7744-4B18-8624-1B5AE07534F6}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -39,10 +51,32 @@ Global
{D417C2E0-E317-4547-969F-1C21E031478A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{D417C2E0-E317-4547-969F-1C21E031478A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{D417C2E0-E317-4547-969F-1C21E031478A}.Release|Any CPU.Build.0 = Release|Any CPU
{6F8234A7-1336-49D9-A68A-3327DFBDFCDD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6F8234A7-1336-49D9-A68A-3327DFBDFCDD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6F8234A7-1336-49D9-A68A-3327DFBDFCDD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6F8234A7-1336-49D9-A68A-3327DFBDFCDD}.Release|Any CPU.Build.0 = Release|Any CPU
{17DC32BC-9C75-4846-B08D-D90241B71436}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{17DC32BC-9C75-4846-B08D-D90241B71436}.Debug|Any CPU.Build.0 = Debug|Any CPU
{17DC32BC-9C75-4846-B08D-D90241B71436}.Release|Any CPU.ActiveCfg = Release|Any CPU
{17DC32BC-9C75-4846-B08D-D90241B71436}.Release|Any CPU.Build.0 = Release|Any CPU
{BD61B857-1919-4546-8B87-3F525BF269F1}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BD61B857-1919-4546-8B87-3F525BF269F1}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BD61B857-1919-4546-8B87-3F525BF269F1}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BD61B857-1919-4546-8B87-3F525BF269F1}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(NestedProjects) = preSolution
{F3A53651-9728-427B-A429-7B3F1B6C8DA0} = {360FAD84-7744-4B18-8624-1B5AE07534F6}
{C34F594A-16F6-4BF1-A11B-5C92CD618DD2} = {360FAD84-7744-4B18-8624-1B5AE07534F6}
{94523BE2-B9F9-403E-B93B-AE1AED3256D3} = {360FAD84-7744-4B18-8624-1B5AE07534F6}
{EC444991-FDF7-4521-AED6-6BE32EAF8542} = {1BF0B566-4513-405A-BF67-76E826EA6DA0}
{D417C2E0-E317-4547-969F-1C21E031478A} = {360FAD84-7744-4B18-8624-1B5AE07534F6}
{6F8234A7-1336-49D9-A68A-3327DFBDFCDD} = {D622CE4D-8CE5-486A-9AAE-97AC093122C7}
{17DC32BC-9C75-4846-B08D-D90241B71436} = {D622CE4D-8CE5-486A-9AAE-97AC093122C7}
{BD61B857-1919-4546-8B87-3F525BF269F1} = {D622CE4D-8CE5-486A-9AAE-97AC093122C7}
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {0A7C16DC-1BAA-44BC-AA1C-D40B7B61878E}
EndGlobalSection
Expand Down

0 comments on commit d905d1c

Please sign in to comment.