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.
fixes #36
You can test it by running
publiToMavLo
task. Open~/.m2
. In this branch nolibrary-android
dir is published anymore. Instead apassenger-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 anafterEvaluate
block to handle theMavenPublication
type correctly for the Android target, ensuring theartifactId
is replaced appropriately.General cleanup:
library/build.gradle.kts
: Removed an unnecessary closing brace to maintain proper syntax.