It is not automatically included. How exactly are you deciding this?

On Thu, Nov 26, 2015, 5:10 AM David K. <dejvid....@gmail.com> wrote:

> Hi,
>
> Im using android-sbt-plugin 1.5.9, and it automatically includes
> org.apache.http.legacy.jar. Using gradle plugin for android you have to
> explicitly tell it to use legacy library, in this case is included
> by default. How can I exclude legacy library from build?
>
> This is how my build.sbt looks like:
>
> lazy val android = (project in file("android"))
>   .settings(androidBuild)
>   .settings(
>     name := "Android",
>     platformTarget in Android  := "android-23",
>     minSdkVersion in Android := "16",
>     targetSdkVersion in Android := "23",
>     proguardCache in Android ++= Seq("org.scaloid"),
>     debugIncludesTests in Android := false,
>     javacOptions in Compile ++= "-target" :: "1.7" :: "-source" :: "1.7" :: 
> Nil,
>     proguardScala in Android := true,
>     useProguard in Android := true,
>     proguardOptions in Android ++= Settings.proguardCommons,
>     libraryDependencies ++= Libraries.androidLibraries
> )
>
>
>
>
> Any help appreciated,
>
> David
>
> --
> You received this message because you are subscribed to the Google Groups
> "scala-on-android" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to scala-on-android+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"scala-on-android" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to scala-on-android+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to