-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathandroid.sbt
33 lines (25 loc) · 877 Bytes
/
android.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
// Prevent common com.android.builder.packaging.DuplicateFileException.
// Add further file names if you experience the exception after adding new dependencies
packagingOptions in Android := PackagingOptions(
excludes =
"META-INF/LICENSE" ::
"META-INF/LICENSE.txt" ::
"META-INF/NOTICE" ::
"META-INF/NOTICE.txt" ::
Nil
)
// flowLayout library needs API-Level 14
minSdkVersion in Android := "14"
platformTarget in Android := "android-23"
proguardCache in Android ++=
"android.support" ::
"play" ::
Nil
proguardOptions in Android ++=
"-keepattributes EnclosingMethod,InnerClasses,Signature" ::
Nil
// Shortcut: allows you to execute "sbt run" instead of "sbt android:run"
run <<= run in Android
targetSdkVersion in Android := "23"
versionCode in Android := Some( 1 )
versionName in Android := Some( "1.0.1" )