This repository has been archived by the owner on Sep 9, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
37 lines (33 loc) · 1.49 KB
/
build.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
34
35
36
37
inScope(Global)(Seq(
credentials += Credentials(
"Sonatype Nexus Repository Manager",
"oss.sonatype.org",
sys.env.getOrElse("SONATYPE_USERNAME", ""),
sys.env.getOrElse("SONATYPE_PASSWORD", "")
),
developers ++= List(
Developer("[email protected]", "Gregg Hernandez", "", url("https://github.com/gregghz"))
),
homepage := Some(url("https://github.com/lucidsoftware/lucid-android")),
licenses += "Apache License 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0"),
organization := "com.lucidchart",
PgpKeys.pgpPassphrase := Some(Array.emptyCharArray),
scmInfo := Some(ScmInfo(url("https://github.com/lucidsoftware/lucid-android"), "scm:git:[email protected]:lucidsoftware/lucid-android.git")),
version := sys.props.getOrElse("build.version", "0-SNAPSHOT")
))
enablePlugins(AndroidLib)
name := "lucid-android"
scalaVersion := "2.11.12"
scalacOptions ++= Seq("-language:experimental.macros", "-deprecation", "-Xlint", "-feature", "-Xfatal-warnings")
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)
libraryDependencies ++= Seq(
"io.estatico" %% "newtype" % "0.1.0",
"org.scala-lang" % "scala-reflect" % scalaVersion.value % Provided,
"org.typelevel" %% "cats-core" % "1.0.1",
"com.chuusai" %% "shapeless" % "2.3.1" % Test,
"org.specs2" %% "specs2-core" % "3.6.4" % Test
)
minSdkVersion in Android := "21"
targetSdkVersion in Android := "26"
platformTarget in Android := "android-26"
buildToolsVersion in Android := Some("26.0.2")