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

Gradle maintenance #292

Merged
merged 4 commits into from May 19, 2018
Merged

Gradle maintenance #292

merged 4 commits into from May 19, 2018

Conversation

dkimitsa
Copy link
Contributor

this pr contains following changes:

  1. added dependency to build task to force java compilation for every RoboVM task. Otherwise commands like launchIOSDevice will fail as java classes are not generated.

  2. [cosmetic] added description to tasks

> gradle tasks
MobiVM tasks
------------
createIPA - Creates .ipa file. This is an alias for the robovmArchive task
launchConsole - Runs a console app
launchIOSDevice - Runs your iOS app on a connected iOS device.
launchIPadSimulator - Runs your iOS app in the iPad simulator
launchIPhoneSimulator - Runs your iOS app in the iPhone simulator
robovmArchive - Compiles a binary, archives it in a format suitable for distribution and saves it to build/robovm/
robovmInstall - Compiles a binary and installs it to build/robovm/
  1. added logic not extracting same file on every launch and do clear cache when new files extracted just to avoid bug cases when incompatible data stays in cache, check post by @dthommes.
  2. added support for launching debugger, similar as @dukescript did for 'maven plugin':
.. start with
> gradle --no-daemon -i -Probovm.debug=true -Probovm.debugPort=7778 -Probovm.arch=x86_64 "-Probovm.device.name=iPhone SE" launchIPhoneSimulator
.. attach with
> jdb -attach 7778

@florianf florianf merged commit 73c3cdd into MobiVM:master May 19, 2018
@dkimitsa dkimitsa deleted the gradle_maintenance branch May 23, 2018 08:10
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

Successfully merging this pull request may close these issues.

None yet

2 participants