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

Consuming Android Library projects

loddy1234 edited this page Feb 12, 2013 · 2 revisions

Add your apklib dependencies like so:

resolvers += "ActionBarSherlock snapshots" at  "http://r.jakewharton.com/maven/snapshot/"

libraryDependencies ++= Seq(
    "com.actionbarsherlock" % "library" % "4.0.0-SNAPSHOT" artifacts(Artifact("library", "apklib", "apklib")),
    "android" % "compatibility-v4" % "r3-SNAPSHOT"
)

Apklibs will then be automatically downloaded and extracted to target/scala-2.x.y.

See https://gist.github.com/1709186/ for a sample project.