-
Notifications
You must be signed in to change notification settings - Fork 43
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
Podfile generation doesn't reproduce dependency tree #599
Comments
This could well be a bug in the Podfile output. I don't have time to look at it right now, though I'll happily review a proposed change. As a temporary workaround, you can take manual control of the Podfile: |
@brunobowden... thanks for the response and the link. So the way I've specified the project dependency (i.e. |
The challenge is having the J2ObjC Gradle Plugin take the entire dependency from Java and recreate it within the Xcode build. That's incredibly difficult to do. There will likely be limitations in that area for some time to come. |
I have two Java modules in my project that I'm running through the Gradle J2ObjC translation task. One is my
SharedCode
module that I want to be translated and made available to both theRetailSDK
andRetailSDKTests
targets in myiOS
workspace. The other is aTestContracts
module that I want to be translated and made available to theRetailSDKTests
target in myiOS
workspace only. Additionally, theTestContracts
module has a dependency on theSharedCode
module.In order to achieve the above, the
build.gradle
file of mySharedCode
module is as follows:And the
build.gradle
file of myTestContracts
module is as follows:Based on the above, on building my project I would expect the contents of my
Podfile
to be the following:However, what I see is this:
Can anyone see what I'm doing wrong in my
build.gradle
files which makes the output of the J2ObjC translation not be added to theRetailSDK
target?The text was updated successfully, but these errors were encountered: