-
Notifications
You must be signed in to change notification settings - Fork 836
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
Cannot build library as subproject #826
Comments
Cool. I will look into it and get you back in 24 hours. I will keep you posted if any road block comes up. |
Thanks, @TonyTangAndroid. FYI, I did make a change in #829 that named the lib folder project name as android-beacon-library, which fixed the artifact naming, but did not resolve this problem. I am not sure why. |
@davidgyoung If the whole purpose of this issue is to provide the capability of referring beacon library source code directly rather than gradle dependencies from maven, then I have managed to resolve it from reference app. Please refer to this pull request for the resolution, which is actually quite simple. Let me know this works for you or not. PS : I have been intended to write more easy and simple beacon library samples and provide more utility tools to track the log of beacon event. And I believe I have made good progress. Be hold that I will make more pull requests from reference app repository. |
Expected behavior
Library should work to be included as a subproject of another project.
Actual behavior
When you try to compile the library as a subproject with the steps below, you get the error:
Steps to reproduce this behavior
//include ':android-beacon-library'
compile project(':android-beacon-library')
and comment outcompile 'org.altbeacon:android-beacon-library:2+'
./gradlew build
Mobile device model and OS version
N/A - build issue
Android Beacon Library version
code tagged as 2.16 (but still unreleased)
@TonyTangAndroid, I believe this problem came up as a result of the reorganization of the library so it has a top-level gradle file and one under the /lib folder in #811. I tried a few settings changes to try and get this to work again, but to no avail. Can you please take a look and let me know if you see anything that might help?
I know that you had suggested reorganizing the reference app so it is included in this app, but even if we do that, I think the library should support being used as a subproject dependency as before.
The text was updated successfully, but these errors were encountered: