jsoup icon indicating copy to clipboard operation
jsoup copied to clipboard

Restructured for Android/studio/gradle

Open timbray opened this issue 11 years ago • 0 comments

PLEASE DON’T PULL

I just thought this might be educational; it’s what you have to do to put JSoup in a shape where you can edit it in Android Studio and build it with Gradle for an Android project.

I did it mechanically by opening it in Eclipse/ADT to get a manifest and resource directories, then importing the Eclipse project into Studio, then typing a whole bunch of boring git commands to move the stuff around.

The src directory structure migrates down a level, you get a manifest and a bunch of gradle junk. Most painful is removing JUnit stuff because Android wants this in a different project (which I haven’t made yet).

If there’s interest in making JSoup straightforwardly usable by the Android mainstream (who will probably soon be on Studio/gradle) I’d be happy to help, but it probably requires a bit more thinking and planning than I’ve done yet.

I’m not 100% sure yet that I’m going to use JSoup in my Android project, but if I do I’ll come back here and figure out a strategy to do so and keep it in sync with JSoup upstream.

Nice looking project!

timbray avatar Aug 11 '14 23:08 timbray