Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[tests] enable Xamarin.Android.LibraryProjectZip-LibBinding test #8588

Merged

Conversation

jonathanpeppers
Copy link
Member

Fixes: #7794

  • Port Xamarin.Android.LibraryProjectZip-LibBinding.csproj to .NET 9.

  • Update to a more recent gradle version, I chose the one MAUI is using:

https://github.com/dotnet/maui/blob/3c7b65264d2f341a48db32263a271fd8718cfd23/src/Core/AndroidNative/build.gradle#L8

  • Use mavenCentral() instead of jcenter() as the latter is deprecated.

  • Fix Outputs by running <Touch Files="$(OutputPath)JavaLib.aar" />

This enables the last few tests in #7794.

Fixes: dotnet#7794

* Port `Xamarin.Android.LibraryProjectZip-LibBinding.csproj` to .NET 9.

* Update to a more recent gradle version, I chose the one MAUI is using:

https://github.com/dotnet/maui/blob/3c7b65264d2f341a48db32263a271fd8718cfd23/src/Core/AndroidNative/build.gradle#L8

* Use `mavenCentral()` instead of `jcenter()` as the latter is deprecated.

* Fix `Outputs` by running `<Touch Files="$(OutputPath)JavaLib.aar" />`

This enables the last few tests in dotnet#7794.
@jonathanpeppers
Copy link
Member Author

The restored tests seem to be working:

image

Copy link
Contributor

@jpobst jpobst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

❤️

@jonathanpeppers jonathanpeppers merged commit 27ab3f8 into dotnet:main Dec 13, 2023
45 of 47 checks passed
@jonathanpeppers jonathanpeppers deleted the Xamarin.Android.LibraryProjectZip branch December 13, 2023 14:44
grendello added a commit that referenced this pull request Jan 8, 2024
* main:
  [tests] fix `MAUI Integration` lane (#8614)
  [xaprepare] use `$(XAPackagesDir)` for NuGet folder (#8613)
  Add ApiScan to nightly build (#8605)
  Bump to dotnet/installer@29db8a1157 9.0.100-alpha.1.23628.5 (#8611)
  [Mono.Android] Fix ServerCertificateCustomValidator (#8594)
  Bump to dotnet/installer@e08874da58 9.0.100-alpha.1.23625.1
  Bump to dotnet/installer@fae23c6571 9.0.100-alpha.1.23618.2
  Localized file check-in by OneLocBuild Task (#8589)
  [tests] enable Xamarin.Android.LibraryProjectZip-LibBinding test (#8588)
@github-actions github-actions bot locked and limited conversation to collaborators Jan 22, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port remaining JcwGen tests to .NET
2 participants