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

Simple heuristics for source jars #425

Closed
advayDev1 opened this issue Aug 26, 2015 · 1 comment
Closed

Simple heuristics for source jars #425

advayDev1 opened this issue Aug 26, 2015 · 1 comment

Comments

@advayDev1
Copy link
Contributor

Auto deps works now with projects and Maven jars.
But if you use local file jars, it does not.

We should add a simple heuristic. If you include dir/library.jar in compile, DependencyConvertor creates dir/library-sources.jar if it exists in j2objcTranslation.

We should also add a j2objcConfig command: attachSources(nameOfExistingCompileDependency, nameOfSourceJarToUse). If attachSources is used, the heuristic is skipped and we just use the provided name.

@advayDev1
Copy link
Contributor Author

The most common case for real users (sources on maven) is done.
In addition a method for doing what is specified here is implemented already, as long as you follow:
https://github.com/j2objc-contrib/j2objc-gradle/blob/master/dependencies.md#build-standalone-third-party-library

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants