Skip to content
This repository has been archived by the owner on Oct 26, 2022. It is now read-only.

No Apklib extraction for the "provided" scope #177

Closed
wants to merge 1 commit into from

Conversation

fxthomas
Copy link

See this discussion on the mailing list.

ApkLib dependencies in the "provided" scope should already be present (and compiled) in one of the dependencies, and thus don't need to be extracted in the subprojects.

@tomjadams
Copy link

Just a note, I get this same error & solved it by partially doing what is described on that mailing list post, which is to set proguardInJars in Android := Seq() (so it removes the Scala library). I then had to add proguard options to keep the Scala classes used in tests only but not in our production code. I have also validated the dependsOn(main % "provided") works.

@fxthomas
Copy link
Author

@tomjadams : You won't have to change proguardInJars in the next version, it will automatically set the provided deps as -libraryjars in the Proguard config ;)

@tomjadams
Copy link

Awesome, that'd be great, I had no end of troubles with this, I burned several days time trying to get it working. Though I now know the code fairly intimately :)

@appamatto
Copy link
Collaborator

Merged into 0.6.4 branch. Thanks!

@appamatto appamatto closed this Jun 4, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants