From aeeb91cfbc5ea570bb4890d595dbc76a78e96cd2 Mon Sep 17 00:00:00 2001 From: Hossein Naderi Date: Fri, 16 Sep 2022 20:59:14 +0430 Subject: [PATCH] Updated scala-k8s to 0.3.0 --- build.sbt | 4 ++-- ...8SMicroservicePlugin.scala => K8sMicroservicePlugin.scala} | 2 +- .../main/scala/NativePackagerDockerIntegrationPlugin.scala | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) rename cookbook/src/main/scala/{K8SMicroservicePlugin.scala => K8sMicroservicePlugin.scala} (98%) diff --git a/build.sbt b/build.sbt index a49bb64..759245d 100644 --- a/build.sbt +++ b/build.sbt @@ -1,7 +1,7 @@ import org.typelevel.sbt.gha.WorkflowStep.Sbt import org.typelevel.sbt.TypelevelCiReleasePlugin -ThisBuild / tlBaseVersion := "0.0" +ThisBuild / tlBaseVersion := "0.1" ThisBuild / organization := "dev.hnaderi" ThisBuild / organizationName := "Hossein Naderi" @@ -36,7 +36,7 @@ lazy val root = .aggregate(core, manifest, cookbook, docs) .enablePlugins(AutomateHeaderPlugin, NoPublishPlugin) -val scalaK8sVersion = "0.2.0" +val scalaK8sVersion = "0.3.0" val munitVersion = "0.7.29" lazy val manifest = project diff --git a/cookbook/src/main/scala/K8SMicroservicePlugin.scala b/cookbook/src/main/scala/K8sMicroservicePlugin.scala similarity index 98% rename from cookbook/src/main/scala/K8SMicroservicePlugin.scala rename to cookbook/src/main/scala/K8sMicroservicePlugin.scala index 9fb6a68..c6aa8cb 100644 --- a/cookbook/src/main/scala/K8SMicroservicePlugin.scala +++ b/cookbook/src/main/scala/K8sMicroservicePlugin.scala @@ -22,7 +22,7 @@ import sbt.AutoPlugin import sbt.Keys._ import sbt._ -object K8SMicroservicePlugin extends AutoPlugin { +object K8sMicroservicePlugin extends AutoPlugin { object autoImport { val microserviceName: SettingKey[String] = settingKey( "name used as deployment, config, secret, and all other resource names. defaults to [project / name]" diff --git a/cookbook/src/main/scala/NativePackagerDockerIntegrationPlugin.scala b/cookbook/src/main/scala/NativePackagerDockerIntegrationPlugin.scala index 208b99c..34f9fbd 100644 --- a/cookbook/src/main/scala/NativePackagerDockerIntegrationPlugin.scala +++ b/cookbook/src/main/scala/NativePackagerDockerIntegrationPlugin.scala @@ -25,8 +25,8 @@ import sbt._ object NativePackagerDockerIntegrationPlugin extends AutoPlugin { override def trigger: PluginTrigger = allRequirements - override def requires: Plugins = DockerPlugin && K8SMicroservicePlugin - import K8SMicroservicePlugin.autoImport.microserviceImage + override def requires: Plugins = DockerPlugin && K8sMicroservicePlugin + import K8sMicroservicePlugin.autoImport.microserviceImage override def projectSettings: Seq[Setting[_]] = Seq( microserviceImage := (Docker / dockerAlias).value.toString()