File tree 5 files changed +14
-7
lines changed
PortableTest/Translated/Giis.Portable
5 files changed +14
-7
lines changed Original file line number Diff line number Diff line change 40
40
MAVEN_GPG_PASSPHRASE : ${{ secrets.MAVEN_GPG_PASSPHRASE }}
41
41
42
42
release-net :
43
- if : ${{ false }} # disable for now
43
+ # if: ${{ false }} # disable for now
44
44
runs-on : ubuntu-latest
45
45
defaults :
46
46
run :
Original file line number Diff line number Diff line change 3
3
A compact library with utility methods that are Java/C# compatible.
4
4
Use these utilities if generating portable applications that with converted .NET C# projects from Java.
5
5
6
- Available on Java and .NET: Contains different implementations in the ` java ` and ` net ` folders,
6
+ Available on Java and .NET:
7
+
8
+ - On Java: include the ` portable-java ` dependency as indicated in the
9
+ [ Maven Central Repository] ( https://search.maven.org/artifact/io.github.javiertuya/portable-java )
10
+ - On .NET: include the ` PortableCs ` package in you project as indicated in
11
+ [ NuGet] ( https://www.nuget.org/packages/PortableCs )
12
+
13
+ Contains different implementations in the ` java ` and ` net ` folders,
7
14
but the tests are shared (converted from java to .net using Sharpen).
Original file line number Diff line number Diff line change 4
4
<modelVersion >4.0.0</modelVersion >
5
5
<groupId >io.github.javiertuya</groupId >
6
6
<artifactId >portable-java</artifactId >
7
- <version >2.1.2-SNAPSHOT </version >
7
+ <version >2.1.2</version >
8
8
<packaging >jar</packaging >
9
9
<organization >
10
10
<name >Software Engineering Research Group - Universidad de Oviedo</name >
Original file line number Diff line number Diff line change 3
3
<OutputType >Library</OutputType >
4
4
<TargetFramework >netstandard2.0</TargetFramework >
5
5
<PackageId >PortableCs</PackageId >
6
- <InformationalVersion >2.1.2-SNAPSHOT </InformationalVersion >
6
+ <InformationalVersion >2.1.2</InformationalVersion >
7
7
8
8
<GenerateDocumentationFile >true</GenerateDocumentationFile >
9
9
<NoWarn >CS1591</NoWarn >
10
10
<SonarQubeTestProject >false</SonarQubeTestProject >
11
11
12
12
<PackageOutputPath >./nupkg</PackageOutputPath >
13
13
<RepositoryUrl >https://github.com/$(GITHUB_REPOSITORY)</RepositoryUrl >
14
- <Version >2.1.2-SNAPSHOT </Version >
14
+ <Version >2.1.2</Version >
15
15
<Authors >Javier Tuya</Authors >
16
16
<Company >GIIS - University of Oviedo, ES</Company >
17
17
<Description >
Original file line number Diff line number Diff line change @@ -14,14 +14,14 @@ public virtual void TestVersionOfThisArtifact()
14
14
{
15
15
// The portable approach by specifying a class and artifact name
16
16
// Update when major or minor version changes
17
- string version = new Versions ( new PortableException ( string . Empty ) . GetType ( ) , "io.github.javiertuya" , "portable" ) . GetVersion ( ) ;
17
+ string version = new Versions ( new PortableException ( string . Empty ) . GetType ( ) , "io.github.javiertuya" , "portable-java " ) . GetVersion ( ) ;
18
18
string [ ] items = JavaCs . SplitByDot ( version ) ;
19
19
NUnit . Framework . Assert . AreEqual ( "2" , items [ 0 ] ) ;
20
20
NUnit . Framework . Assert . AreEqual ( "1" , items [ 1 ] ) ;
21
21
// java only, does not need specify any class
22
22
if ( Parameters . IsJava ( ) )
23
23
{
24
- string jversion = new Versions ( null , "io.github.javiertuya" , "portable" ) . GetVersion ( ) ;
24
+ string jversion = new Versions ( null , "io.github.javiertuya" , "portable-java " ) . GetVersion ( ) ;
25
25
NUnit . Framework . Assert . AreEqual ( version , jversion ) ;
26
26
}
27
27
// net only, does not need specify artifact
You can’t perform that action at this time.
0 commit comments