googlesamples / googlesamples/unity-jar-resolver

Using compile(..) instead of implementation(...) in unityLibrary build.gradle

Open
#539 6 comments 0 reactions 0 assignees View on GitHub
type: feature request
Dominant language
C#
Stars
1.5k
Forks
371
Avg merge
14h 21m
Merged PRs (30d)
3

Description

### [REQUIRED] Please fill in the following fields:

* Unity editor version: 2021.3.9f1
* External Dependency Manager version: 1.2.172
* Source you installed EDM4U: .unitypackage
* Features in External Dependency Manager in use: Android Resolver
* Plugins SDK in use: [HBRecorder](https://github.com/HBiSoft/HBRecorder)
* Platform you are using the Unity editor on: Mac

### [REQUIRED] Please describe the question here:

Hello,
I am trying to include [HBRecorder](https://github.com/HBiSoft/HBRecorder) library.
When I build the Android project to work on my implementation, it cannot find the the import statement for the library.

Searching around online, the only way I can get it to import, is if I change the implementation(...) statement to compile(...) inside of the unity libraries' build.gradle. From there I can import, compile and run the application.

Is there anyway I can get this to auto generate the 'compile' statement rather than change it manually every time?

Thanks!

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.