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.
I'm putting together an Android and iOS SDK and have the recommended project structure with three modules:
Android,iOSandSharedCode. Thebuild.gradlefile in mySharedCodemodule contains thej2objcConfig { ... }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
J2ObjClibrary. 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
Androidmodule? I thought this might do it...... but I still get a
J2ObjC Tool Configuration Failureerror complaining that:J2ObjC Home directory not found.