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?
答案 0 :(得分:0)
我假设您使用的是gradle j2objc插件?见here。简而言之,您需要确保添加的gradle编译依赖项指定特定版本(无+或未指定),并且指定的依赖项提供-sources.jar。之后,如果您将autoConfigureDeps true
添加到j2objcConfig
关闭的顶部,它将会获取来源。