sbt-android | use sbt plugin for working with all Android projects | Plugin library
kandi X-RAY | sbt-android Summary
kandi X-RAY | sbt-android Summary
This is an easy-to-use plugin for existing and newly created android projects. It requires SBT 0.13.8+. The plugin supports all android projects configurations. 3rd party libraries can be included by placing them in libs, or they can be added by using sbt's libraryDependencies feature. This build plugin is 100% compatible with the standard Android build system due to the use of the same underlying com.android.tools.build:builder implementation. NOTE: proguard 5.1 does not like old versions of scala. Projects that wish to use Proguard 5.1 or newer with Scala should use scalaVersion := "2.11.5" or newer. For compatible scala projects and java-based projects which wish to use proguard 5.1 (to fix issues around generic types being removed from base-classes) a workaround is to add this setting into your build.sbt: proguardVersion := "5.1". See proguard bug #549 and SI-8931. NOTE: support-v4 22.2.x triggers compilation errors, see #173 and SI-7741.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns the declared method
- Apply the build
sbt-android Key Features
sbt-android Examples and Code Snippets
Community Discussions
Trending Discussions on sbt-android
QUESTION
I have written a couple of AutoPlugins to simplify my multi-project sbt build.
One of these AutoPlugins defines a TaskKey[File]
and adds an artifact for the result of that task.
ANSWER
Answered 2017-Mar-17 at 14:18I found the solution to my problem myself.
After some digging I found that CorePlugin resets artifacts
to Nil
.
One has to require either CorePlugin
or JvmPlugin
in the plugin that adds the artifact to ensure that the settings doing the reset are loaded before the own projectSettings
.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install sbt-android
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page