-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
optimized code and code fmt and fix compile
Signed-off-by: JingZhang Chen <[email protected]>
- Loading branch information
Showing
2 changed files
with
48 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
name := "sbt-depend-walker" | ||
organization := "io.github.roiocam" | ||
description := "sbt plugin for walk on the dependency tree of Build" | ||
description := "sbt plugin for walk on the dependency tree of Build" | ||
|
||
sbtPlugin := true | ||
|
||
|
@@ -16,19 +16,23 @@ scalacOptions ++= Seq( | |
ThisBuild / scalaVersion := "2.12.18" | ||
|
||
// start ----------- sbt-ci-release | ||
inThisBuild(List( | ||
homepage := Some(url("https://github.com/roiocam/sbt-depend-walker")), | ||
// Alternatively License.Apache2 see https://github.com/sbt/librarymanagement/blob/develop/core/src/main/scala/sbt/librarymanagement/License.scala | ||
licenses := List("Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0")), | ||
developers := List( | ||
Developer( | ||
id = "roiocam", | ||
name = "Andy chen", | ||
email = "[email protected]", | ||
url = url("https://github.com/roiocam") | ||
inThisBuild( | ||
List( | ||
homepage := Some(url("https://github.com/roiocam/sbt-depend-walker")), | ||
// Alternatively License.Apache2 see https://github.com/sbt/librarymanagement/blob/develop/core/src/main/scala/sbt/librarymanagement/License.scala | ||
licenses := List( | ||
"Apache-2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0") | ||
), | ||
developers := List( | ||
Developer( | ||
id = "roiocam", | ||
name = "Andy chen", | ||
email = "[email protected]", | ||
url = url("https://github.com/roiocam") | ||
) | ||
) | ||
) | ||
)) | ||
) | ||
|
||
sonatypeCredentialHost := "s01.oss.sonatype.org" | ||
sonatypeRepository := "https://s01.oss.sonatype.org/service/local" | ||
|
@@ -58,7 +62,10 @@ ThisBuild / dynver := { | |
|
||
// start ----------- sbt-github-actions | ||
ThisBuild / githubWorkflowBuild := Seq( | ||
WorkflowStep.Sbt(name = Some("Build project"), commands = List("test", "scripted")) | ||
WorkflowStep.Sbt( | ||
name = Some("Build project"), | ||
commands = List("test", "scripted") | ||
) | ||
) | ||
ThisBuild / githubWorkflowTargetTags ++= Seq("v*") | ||
// publish snapshot and release | ||
|
@@ -113,4 +120,4 @@ ThisBuild / scmInfo := Some( | |
) | ||
|
||
enablePlugins(SbtPlugin) | ||
scriptedBufferLog := false | ||
scriptedBufferLog := false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters