Skip to content

Feature: Include Android Library within Project/Package for 2022.2 and greater. #51

@paulhayes

Description

@paulhayes

One of my concerns has been that the Android Library exists as a separate repository for this project, yet they are tightly coupled with explicit API calls and no version checks for this dependency. with no submodule, it's hard to tell which version of the java Library source code goes with which version of the Unity project source code.

As of Unity 2022.2 You can now optionally include Android Libraries directly into a Project, and Unity will add it to the Gradle file.
https://docs.unity3d.com/2022.2/Documentation/Manual/android-library-project-and-aar-plugins-introducing.html
https://docs.unity3d.com/2022.2/Documentation/Manual/AndroidAARPlugins.html

We could add the Library as a submodule, which then pairs specific versions of the android library with it's corresponding Unity Package ( if the move to Packages goes ahead as I hope ).

For releases we can switch to android archive or jar file. But this new Unity feature allows us to switch between the two easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions