Skip to content

Commit 90b154d

Browse files
committedMay 18, 2023
Add developers to build.sbt
1 parent ba13224 commit 90b154d

File tree

1 file changed

+7
-31
lines changed

1 file changed

+7
-31
lines changed
 

‎build.sbt

+7-31
Original file line numberDiff line numberDiff line change
@@ -15,38 +15,14 @@ organization := "com.github.cb372"
1515
description := "An sbt plugin to check that your project does not directly depend on any transitive dependencies for compilation"
1616
homepage := Some(url("https://github.com/cb372/sbt-explicit-dependencies"))
1717
licenses += ("Apache-2.0", url("https://www.apache.org/licenses/LICENSE-2.0.html"))
18-
19-
/*
20-
releaseProcess := Seq[ReleaseStep](
21-
checkSnapshotDependencies,
22-
inquireVersions,
23-
runClean,
24-
setReleaseVersion,
25-
commitReleaseVersion,
26-
tagRelease,
27-
releaseStepCommandAndRemaining(s"^^$latestSbt_1_3_x_version publish"), // Note: if we publish with 1.4.0, the plugin will only work with 1.4.x
28-
releaseStepTask(updateVersionInExampleProject),
29-
setNextVersion,
30-
commitNextVersion,
31-
pushChanges
32-
)
33-
*/
34-
35-
lazy val updateVersionInExampleProject = taskKey[Unit]("update the version of the plugin used in the example project")
36-
updateVersionInExampleProject := {
37-
val pluginsFile = baseDirectory.value / "example/project/plugins.sbt"
38-
val content =
39-
s"""addSbtPlugin("com.github.cb372" % "sbt-explicit-dependencies" % "${version.value}")"""
40-
sbt.io.IO.write(pluginsFile, content)
41-
42-
val gitCommand = List(
43-
"git",
44-
"commit",
45-
"-m", "Update plugin version in example project",
46-
"example/project/plugins.sbt"
18+
developers := List(
19+
Developer(
20+
"cb372",
21+
"Chris Birchall",
22+
"chris.birchall@gmail.com",
23+
url("https://github.com/cb372")
4724
)
48-
scala.sys.process.Process(gitCommand).!
49-
}
25+
)
5026

5127
scriptedLaunchOpts ++= Seq(
5228
"-Xmx1024M",

0 commit comments

Comments
 (0)
Please sign in to comment.