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
Converted build system to gradle #415
Conversation
This may come as a shock but I think this is a great idea... recently i've switched to using AS for several projects and I'm in love with it and gradle. Let me review this and i'll merge it in. |
I am actually somewhat shocked :) |
Any progress on this? |
It's the first time I use gradle and the first time I try to build mobileorg-android. It's seems there's something missing in my Android SDK and I was wondering if it's possible with gradle to make it say what I need to install.
|
@BrunoQC you need to go into the sdk manager for Android studio and make sure you have the proper support library installed. You'll also want to make sure you have the new support repo and whatnot. I'll be merging this in soon, I've been pretty busy. |
@matburt Thanks, it's working now. I didn't have the support repo. |
Converted build system to gradle
This is the new Android build system. The reason I converted is that I started using Android Studio and its preferred way of building is gradle.
@matburt Would you be willing to change the build system? You would need to edit the MobileOrg/build.gradle with accordance to http://tools.android.com/tech-docs/new-build-system/user-guide#TOC-Signing-Configurations I created a signing config called matburt that you just need to fill out. Creating the donate and release versions is done by running ./gradlew assembleRelease or ./gradlew assembleDonate.