@@ -12,7 +12,8 @@ lazy val `kubeyml` = (project in file("."))
12
12
.settings(pluginSettings)
13
13
.settings(
14
14
name := " sbt-kubeyml"
15
- ).settings(publishSettings)
15
+ )
16
+ .settings(publishSettings)
16
17
.settings(releaseSettings)
17
18
.settings(pluginSettings)
18
19
.settings(compilerSettings)
@@ -23,7 +24,6 @@ lazy val site = (project in file("site"))
23
24
.settings(noPublishSettings)
24
25
.dependsOn(`kubeyml`)
25
26
26
-
27
27
crossScalaVersions := Seq (scala212)
28
28
29
29
val circeVersion = " 0.14.2"
@@ -38,7 +38,7 @@ libraryDependencies ++= Seq(
38
38
" org.scalacheck" %% " scalacheck" % " 1.16.0" % Test ,
39
39
" com.github.alexarchambault" %% " scalacheck-shapeless_1.15" % " 1.3.0" % Test
40
40
)
41
- addSbtPlugin(" com.github.sbt" % " sbt-native-packager" % " 1.9.11 " )
41
+ addSbtPlugin(" com.github.sbt" % " sbt-native-packager" % " 1.9.9 " )
42
42
43
43
lazy val pluginSettings = Seq (
44
44
sbtPlugin := true
@@ -53,15 +53,13 @@ lazy val publishSettings = Seq(
53
53
organizationName := " Vasilis Nicolaou" ,
54
54
sonatypeProfileName := " org.vaslabs" ,
55
55
sonatypeProjectHosting
:= Some (
GitHubHosting (
" vaslabs" ,
" sbt-kubeyml" ,
" [email protected] " )),
56
- scmInfo := Some (ScmInfo (
57
- url(" https://github.com/vaslabs/sbt-kubeyml" ),
58
- " scm:[email protected] :vaslabs/sbt-kubeyml.git" )),
56
+ scmInfo
:= Some (
ScmInfo (url(
" https://github.com/vaslabs/sbt-kubeyml" ),
" scm:[email protected] :vaslabs/sbt-kubeyml.git" )),
59
57
developers := List (
60
58
Developer (
61
- id = " vaslabs" ,
62
- name = " Vasilis Nicolaou" ,
59
+ id = " vaslabs" ,
60
+ name = " Vasilis Nicolaou" ,
63
61
64
- url = url(" http://vaslabs.org" )
62
+ url = url(" http://vaslabs.org" )
65
63
)
66
64
),
67
65
publishConfiguration := publishConfiguration.value.withOverwrite(true ),
@@ -99,24 +97,24 @@ lazy val compilerSettings = Seq(
99
97
scalacOptions ++= Seq (
100
98
" -deprecation" ,
101
99
" -feature" ,
102
- " -language:postfixOps" , // Allow postfix operator notation, such as `1 to 10 toList'
100
+ " -language:postfixOps" , // Allow postfix operator notation, such as `1 to 10 toList'
103
101
" -language:implicitConversions" ,
104
102
" -language:higherKinds" ,
105
103
" -Ypartial-unification" ,
106
- " -Ywarn-dead-code" , // Warn when dead code is identified.
107
- " -Ywarn-extra-implicit" , // Warn when more than one implicit parameter section is defined.
108
- " -Ywarn-inaccessible" , // Warn about inaccessible types in method signatures.
109
- " -Ywarn-infer-any" , // Warn when a type argument is inferred to be `Any`.
110
- " -Ywarn-nullary-override" , // Warn when non-nullary `def f()' overrides nullary `def f'.
111
- " -Ywarn-nullary-unit" , // Warn when nullary methods return Unit.
112
- " -Ywarn-numeric-widen" , // Warn when numerics are widened.
113
- " -Ywarn-unused:implicits" , // Warn if an implicit parameter is unused.
114
- " -Ywarn-unused:imports" , // Warn if an import selector is not referenced.
115
- " -Ywarn-unused:locals" , // Warn if a local definition is unused.
116
- " -Ywarn-unused:params" , // Warn if a value parameter is unused.
117
- " -Ywarn-unused:patvars" , // Warn if a variable bound in a pattern is unused.
118
- " -Ywarn-unused:privates" , // Warn if a private member is unused.
119
- " -Ywarn-value-discard" , // Warn when non-Unit expression results are unused.
104
+ " -Ywarn-dead-code" , // Warn when dead code is identified.
105
+ " -Ywarn-extra-implicit" , // Warn when more than one implicit parameter section is defined.
106
+ " -Ywarn-inaccessible" , // Warn about inaccessible types in method signatures.
107
+ " -Ywarn-infer-any" , // Warn when a type argument is inferred to be `Any`.
108
+ " -Ywarn-nullary-override" , // Warn when non-nullary `def f()' overrides nullary `def f'.
109
+ " -Ywarn-nullary-unit" , // Warn when nullary methods return Unit.
110
+ " -Ywarn-numeric-widen" , // Warn when numerics are widened.
111
+ " -Ywarn-unused:implicits" , // Warn if an implicit parameter is unused.
112
+ " -Ywarn-unused:imports" , // Warn if an import selector is not referenced.
113
+ " -Ywarn-unused:locals" , // Warn if a local definition is unused.
114
+ " -Ywarn-unused:params" , // Warn if a value parameter is unused.
115
+ " -Ywarn-unused:patvars" , // Warn if a variable bound in a pattern is unused.
116
+ " -Ywarn-unused:privates" , // Warn if a private member is unused.
117
+ " -Ywarn-value-discard" , // Warn when non-Unit expression results are unused.
120
118
" -Ywarn-unused:imports" ,
121
119
" -Xfatal-warnings"
122
120
)
@@ -141,7 +139,7 @@ lazy val docSettings = Seq(
141
139
)
142
140
),
143
141
ghpagesCleanSite / excludeFilter :=
144
- new FileFilter {
142
+ new FileFilter {
145
143
def accept (f : File ) = (ghpagesRepository.value / " CNAME" ).getCanonicalPath == f.getCanonicalPath
146
144
} || " versions.html"
147
145
)
@@ -153,4 +151,3 @@ lazy val noPublishSettings =
153
151
publishArtifact := false ,
154
152
publishTo := None
155
153
)
156
-
0 commit comments