Skip to content

Commit a9616dd

Browse files
authored
fix pgp sbt settings (#15)
1 parent ea2c74b commit a9616dd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

build.sbt

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,6 @@ scmInfo in ThisBuild := Some(
2828
developers in ThisBuild := List(
2929
Developer(id="davideicardi", name="Davide Icardi", email="davide.icardi@gmail.com", url=url("http://davideicardi.com"))
3030
)
31-
// set pinentry=loopback if we have the env variable
32-
useGpgPinentry in ThisBuild := Option(System.getenv("PGP_PASSPHRASE")).isDefined
33-
3431

3532
val avro4sVersion = "4.0.0"
3633
val kafkaVersion = "2.4.0" // NOTE: there is a dependencies to kafka also from avro4s-kafka
@@ -51,6 +48,8 @@ lazy val KaaSchemaRegistry = project
5148
.settings(
5249
Defaults.itSettings,
5350
name := "kaa",
51+
// set pinentry=loopback if we have the env variable, to avoid asking for passphrase
52+
useGpgPinentry := Option(System.getenv("PGP_PASSPHRASE")).isDefined,
5453
libraryDependencies ++= testDependencies,
5554
libraryDependencies ++= dependencies,
5655
)

0 commit comments

Comments
 (0)