Allow Buck to run without Android SDK #7

Closed
spearce opened this Issue Apr 29, 2013 · 4 comments

Projects

None yet

2 participants

@spearce
spearce commented Apr 29, 2013

Add a new option to .buckconfig that indicates the project does not need the Android SDK. Disabling the Android SDK check allows Buck to run for normal Java projects that only need java_library(), java_binary(), and prebuilt_jar().

@bolinfest
Contributor

Thanks for filing: this is definitely an oversight on our part. Buck is meant to be able to support "pure Java" projects, as well as Android projects.

@bolinfest bolinfest was assigned Apr 29, 2013
@spearce
spearce commented May 1, 2013

If you are interested in looking at a real world pure Java project's usage of Buck, see https://gerrit.googlesource.com/gerrit/+/57a4d597cd1111ebabf9bbf495ecd45324e7acdd as it contains a complete, non-trivial "pure Java" project build system alongside of the existing Maven build.

I unfortunately had to use 22 genrules() to provide a number of hacks for features missing from Buck. The worst hack of all was committing local.properties to work around the Android SDK. :-)

@bolinfest
Contributor

I have a fix for this internally, but I'm waiting for a code review :(

On Wed, May 1, 2013 at 10:02 AM, Shawn O. Pearce
notifications@github.comwrote:

If you are interested in looking at a real world pure Java project's usage
of Buck, see
https://gerrit.googlesource.com/gerrit/+/57a4d597cd1111ebabf9bbf495ecd45324e7acddas it contains a complete, non-trivial "pure Java" project build system
alongside of the existing Maven build.

I unfortunately had to use 22 genrules() to provide a number of hacks for
features missing from Buck. The worst hack of all was committing
local.properties to work around the Android SDK. :-)


Reply to this email directly or view it on GitHubhttps://github.com/facebook/buck/issues/7#issuecomment-17292098
.

@bolinfest
Contributor

Fixed:
ef014b3

@bolinfest bolinfest closed this May 2, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment