Skip to content

Commit

Permalink
mill to sbt
Browse files Browse the repository at this point in the history
  • Loading branch information
giabao committed Apr 28, 2018
1 parent c076eb6 commit 6de8ed8
Show file tree
Hide file tree
Showing 8 changed files with 53 additions and 33 deletions.
3 changes: 3 additions & 0 deletions .gitignore
@@ -1,3 +1,6 @@
/.idea/
/.idea_modules/
/out/
/target/
/project/target/
/project/project/
44 changes: 44 additions & 0 deletions build.sbt
@@ -0,0 +1,44 @@
val publishSettings = Seq(
publishTo := sonatypePublishTo.value,
publishMavenStyle := true,
pomExtra :=
<description>uuid util and z-base-32 encoding in Scala</description>
<url>https://github.com/ohze/szbase32</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<scm>
<url>https://github.com/ohze/szbase32</url>
<connection>scm:git@github.com:ohze/szbase32.git</connection>
</scm>
<developers>
<developer>
<id>giabao</id>
<name>Gia Bảo</name>
<email>giabao@sandinh.net</email>
<organization>Sân Đình</organization>
<organizationUrl>https://sandinh.com</organizationUrl>
</developer>
</developers>
)

val commonSettings = Seq(
version := "1.0.0",
scalaVersion := "2.12.6",
organization := "com.sandinh",
scalacOptions := Seq("-encoding", "UTF-8", "-deprecation", "-target:jvm-1.8"),
resolvers += Resolver.sonatypeRepo("releases")
)

lazy val szbase32 = (project in file("."))
.settings(commonSettings ++ publishSettings: _*)
.settings(
libraryDependencies ++= Seq(
"com.sandinh" %% "zbase32-commons-codec" % "1.0.0" % Test,
"io.jvm.uuid" %% "scala-uuid" % "0.2.4" % Test,
"org.scalatest" %% "scalatest" % "3.0.5" % Test
),
)
33 changes: 0 additions & 33 deletions build.sc

This file was deleted.

1 change: 1 addition & 0 deletions project/build.properties
@@ -0,0 +1 @@
sbt.version=1.1.4
5 changes: 5 additions & 0 deletions project/plugins.sbt
@@ -0,0 +1,5 @@
addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.1.1")

addSbtPlugin("org.xerial.sbt" % "sbt-sonatype" % "2.3")

addSbtPlugin("io.get-coursier" % "sbt-coursier" % "1.0.3")
File renamed without changes.

0 comments on commit 6de8ed8

Please sign in to comment.