Skip to content
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

Merged
merged 8 commits into from Dec 4, 2013
Merged

Converted build system to gradle #415

merged 8 commits into from Dec 4, 2013

Conversation

hdweiss
Copy link
Contributor

@hdweiss hdweiss commented Sep 22, 2013

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.

@matburt
Copy link
Owner

matburt commented Sep 22, 2013

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.

@hdweiss
Copy link
Contributor Author

hdweiss commented Sep 23, 2013

I am actually somewhat shocked :)

@ghost ghost assigned matburt Sep 25, 2013
@hdweiss
Copy link
Contributor Author

hdweiss commented Oct 8, 2013

Any progress on this?

@bbigras
Copy link
Contributor

bbigras commented Nov 5, 2013

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.

> Could not find any version that matches com.android.support:support-v4:13.0.+.

@matburt
Copy link
Owner

matburt commented Nov 5, 2013

@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.

@bbigras
Copy link
Contributor

bbigras commented Nov 6, 2013

@matburt Thanks, it's working now. I didn't have the support repo.

matburt added a commit that referenced this pull request Dec 4, 2013
Converted build system to gradle
@matburt matburt merged commit 5e6b9a2 into matburt:master Dec 4, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants