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

Possible to run an Android build whilst skipping all tasks of the J2ObjC Gradle plugin? #606

Open
adil-hussain-84 opened this issue Mar 18, 2016 · 0 comments

Comments

@adil-hussain-84
Copy link

I'm putting together an Android and iOS SDK and have the recommended project structure with three modules: Android, iOS and SharedCode. The build.gradle file in my SharedCode module contains the j2objcConfig { ... } block.

I'm in the process of setting up Continuous Integration builds of my Android and iOS SDKs. I will have separate builds for the Android and iOS modules. Moreover, the machine on which the Android builds are run does not contain the J2ObjC library. Therefore I'd like to exclude all tasks of the J2ObjC Gradle plugin when doing an Android build.

What task or tasks do I need to exclude when executing a build of the Android module? I thought this might do it...

./gradlew :Android:build -x :SharedCode:j2objcBuild

... but I still get a J2ObjC Tool Configuration Failure error complaining that: J2ObjC Home directory not found.

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

1 participant