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

Explore moving to https://github.com/pfn/android-sdk-plugin and sbt 0.13.x #74

Closed
ajhager opened this issue Dec 30, 2013 · 8 comments
Closed

Comments

@ajhager
Copy link
Owner

ajhager commented Dec 30, 2013

No description provided.

@aginiewicz
Copy link
Collaborator

As far as I've already investigated, pfn will require us to move assets back to android directory - I haven't found any setting to set custom asset path like mainAssetsPath in current plugin, and only configuration of layout that I've found is selecting between ProjectLayout.Ant and ProjectLayout.Gradle, that are subclasses of sealed trait ProjectLayout (so we cannot define our own project layout) - https://github.com/pfn/android-sdk-plugin/blob/master/src/keys.scala#L216

Nonetheless, adapting Gradle project layout can have its benefits - like easier integration with IDE plugins (it is kind of official new Android build tool now) - and sharing layout with default Libgdx template. The layout from Libgdx template seems to be compatible with android-sdk-plugin, at least at first glance.

I'd say we might investigate changing layout to Gradle after all, but to keep changes gradual, keep current plugin for now (to test it a bit).

@ajhager
Copy link
Owner Author

ajhager commented Dec 30, 2013

I certainly willing to explore this option.

I have also looked around and found forks of https://github.com/jberkel/android-plugin that have already upgraded it to support 0.13.x. Is the project no longer maintained? There are 8 PRs, although none of them are to upgrade to the newest sbt.

@aginiewicz
Copy link
Collaborator

another reason to switch to 0.13. sbt 0.12 uses scala 2.9, which does not work with jdk8, that was recently released. It means, that if someone has jdk8 he cannot use project, even if apk would compile due to -source and -target set to java 6.

@photex
Copy link

photex commented May 17, 2014

https://github.com/molikto/android-plugin/blob/master/README.md

Not sure if relevant but seems like a possible option.

@aginiewicz
Copy link
Collaborator

I have working prototype with desktop+android, but I have to port few missing features (but, working apk is build). I hope to finish it within few days, so stay tuned for pull request :)

I will also switch to layout used by official gdx project template, so we can just copy project dir with build.scala and plugins.sbt, translate .java to .scala and all should work!

Other thing that I tested was x86 build - and yes, it runs in emulator quite well :)

@ajhager
Copy link
Owner Author

ajhager commented Jun 29, 2014

I am so excited you are working on this! So exciting. Can't wait to try it out.

@aginiewicz
Copy link
Collaborator

See #79 - unfortunatelly without iOS plugin, will you be able to fill in this gap?

@aginiewicz
Copy link
Collaborator

See #80 for follow-up on iOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants