Skip to content

Commit

Permalink
chore: update sbt version (#9)
Browse files Browse the repository at this point in the history
Co-authored-by: i.akhaltsev <i.akhaltsev@tinkoff.ru>
  • Loading branch information
jigarkhwar and i.akhaltsev committed Mar 16, 2022
1 parent b07ce96 commit bf63728
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 9 deletions.
4 changes: 3 additions & 1 deletion build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ lazy val sbtSchemaRegistryPlugin = (project in file("."))
.enablePlugins(SbtPlugin, GitVersioning)
.settings(
name := "sbt-schema-registry-plugin",
pluginCrossBuild / sbtVersion := "1.3.0",
scalaVersion := "2.12.15",
sbtPlugin := true,
pluginCrossBuild / sbtVersion := "1.6.2",
resolvers ++= Seq("Confluent" at "https://packages.confluent.io/maven/"),
libraryDependencies ++= Seq(schemaRegistryClient),
scriptedLaunchOpts ++= Seq(
Expand Down
13 changes: 7 additions & 6 deletions publish.sbt
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
ThisBuild / versionScheme := Some("semver-spec")
ThisBuild / organization := "ru.tinkoff"
ThisBuild / scmInfo := Some(
ThisBuild / versionScheme := Some("semver-spec")
ThisBuild / organization := "ru.tinkoff"
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
ThisBuild / scmInfo := Some(
ScmInfo(
url("https://github.com/Tinkoff/sbt-schema-registry-plugin"),
"git@github.com:Tinkoff/sbt-schema-registry-plugin.git",
),
)

ThisBuild / developers := List(
ThisBuild / developers := List(
Developer(
id = "red-bashmak",
name = "Vyacheslav Kalyokin",
Expand All @@ -16,6 +17,6 @@ ThisBuild / developers := List(
),
)

ThisBuild / description := "Sbt plugin for download schemas from schema registry"
ThisBuild / licenses += ("Apache-2.0", url("http://www.apache.org/licenses/LICENSE-2.0"))
ThisBuild / homepage := Some(url("https://github.com/Tinkoff/sbt-schema-registry-pluginn"))
ThisBuild / description := "Sbt plugin for download schemas from schema registry"
ThisBuild / homepage := Some(url("https://github.com/Tinkoff/sbt-schema-registry-pluginn"))
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ object SchemaDownloaderPlugin extends AutoPlugin {
import autoImport.*

override lazy val projectSettings: Seq[Setting[?]] = defaultSettings ++ Seq(
logLevel in schemaRegistryDownload := (logLevel ?? Level.Info).value,
schemaRegistryDownload in Compile := {
logLevel / schemaRegistryDownload := (logLevel ?? Level.Info).value,
Compile / schemaRegistryDownload := {
val logger = streams.value.log
logger.debug(s"schemaRegistryUrl: ${schemaRegistryUrl.value}")
logger.debug(s"schemaRegistryTargetFolder: ${schemaRegistryTargetFolder.value}")
Expand Down

0 comments on commit bf63728

Please sign in to comment.