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

Fix artifact name for the android target #39

Merged
merged 1 commit into from
Oct 13, 2024
Merged

Conversation

StefMa
Copy link
Collaborator

@StefMa StefMa commented Oct 7, 2024

fixes #36

You can test it by running publiToMavLo task.
Open ~/.m2.
In this branch no library-android dir is published anymore.
Instead a passenger-api-android exist.

AI summary:
This pull request includes changes to the library/build.gradle.kts file to address an issue with the Android target in the Maven publication process. The most important changes involve adding a workaround to ensure proper handling of the Android target.

Workaround for Android target:

  • library/build.gradle.kts: Added an afterEvaluate block to handle the MavenPublication type correctly for the Android target, ensuring the artifactId is replaced appropriately.

General cleanup:

@StefMa StefMa requested a review from elmira-y October 7, 2024 16:52
@StefMa StefMa merged commit 650fb3d into main Oct 13, 2024
8 checks passed
@StefMa StefMa deleted the fix-android-artifact-name branch October 13, 2024 12:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Android library is published wrongly
1 participant