Skip to content

Commit f7d9746

Browse files
authored
#47: Switch release plugin (#48)
* `sbt-ci-release` plugin used - version 1.5.12 * `sbt-header` plugin version increased to 5.7.0 * removed unused code
1 parent c2b8348 commit f7d9746

File tree

3 files changed

+4
-13
lines changed

3 files changed

+4
-13
lines changed

build.sbt

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,3 @@ lazy val faDBExamples = (project in file("examples"))
103103
jacocoReportSettings := commonJacocoReportSettings.withTitle(s"fa-db:examples Jacoco Report - scala:${scalaVersion.value}"),
104104
jacocoExcludes := commonJacocoExcludes
105105
)
106-
107-
releasePublishArtifactsAction := PgpKeys.publishSigned.value
108-
Global / excludeLintKeys += ThisBuild / name

project/plugins.sbt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,10 @@
1414
* limitations under the License.
1515
*/
1616

17-
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.6.0")
18-
addSbtPlugin("com.github.sbt" % "sbt-release" % "1.1.0")
19-
addSbtPlugin("com.github.sbt" % "sbt-pgp" % "2.1.2")
17+
18+
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.5.12")
19+
20+
addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.7.0")
2021

2122
// sbt-jacoco - workaround related dependencies required to download
2223
lazy val ow2Version = "9.5"

slick/src/it/scala/za/co/absa/fadb/slick/FaDbPostgresProfileSuite.scala

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,9 @@ import org.scalatest.flatspec.AsyncFlatSpec
2626

2727
import java.time.{Duration, LocalDate, LocalDateTime, LocalTime, OffsetDateTime, ZonedDateTime}
2828
import java.util.UUID
29-
import java.util.concurrent.TimeUnit
30-
import scala.concurrent.duration.{FiniteDuration, Duration => ScalaDuration}
31-
import scala.language.implicitConversions
32-
import scala.concurrent.ExecutionContext.Implicits.global
3329

3430
class FaDbPostgresProfileSuite extends AsyncFlatSpec {
3531

36-
implicit def javaDurationToScalaDuration(duration: Duration): ScalaDuration = {
37-
FiniteDuration(duration.toNanos, TimeUnit.NANOSECONDS)
38-
}
3932
private val database = Database.forConfig("postgrestestdb")
4033
private val testDBEngine: SlickPgEngine = new SlickPgEngine(database)
4134

0 commit comments

Comments
 (0)