0

I want to pass the dependency-x.y.z-sources.jar that gradle downloads as a parameter to another plugin (specifically j2objc )

Is there a way to have a reference to the downloaded source jar?

OscarRyz
  • 196,001
  • 113
  • 385
  • 569

1 Answers1

0

I assume you are using the gradle j2objc plugin? See here. In short, you need to make sure the gradle compile dependency you add specifies a specific version (no + or unspecified) and that the specified dependency provides a -sources.jar. After that, if you add autoConfigureDeps true to the top of your j2objcConfig closure it will pick up the sources.

Jared
  • 1,449
  • 2
  • 19
  • 40