|
1 |
| -ThisBuild / scalafixDependencies ++= Seq( |
2 |
| - "com.github.liancheng" %% "organize-imports" % "0.6.0", |
3 |
| -) |
4 |
| - |
5 |
| -ThisBuild / homepage := Some(url("https://github.com/atedeg/sbt-ubiquitous-scaladoc")) |
6 |
| -ThisBuild / organization := "dev.atedeg" |
7 |
| -ThisBuild / licenses := List("MIT" -> url("https://opensource.org/licenses/MIT")) |
8 |
| -ThisBuild / wartremoverErrors ++= Warts.allBut(Wart.Any, Wart.Nothing) |
9 |
| - |
10 |
| -resolvers += "jitpack" at "https://jitpack.io" |
11 |
| - |
12 |
| -lazy val startupTransition: State => State = { s: State => |
13 |
| - "conventionalCommits" :: s |
14 |
| -} |
15 |
| - |
16 |
| -lazy val root = project |
17 |
| - .in(file(".")) |
18 |
| - .enablePlugins(SbtPlugin) |
19 |
| - .settings( |
20 |
| - version := "0.1.0-SNAPSHOT", |
21 |
| - name := "sbt-ubiquitous-scaladoc", |
22 |
| - sbtPlugin := true, |
23 |
| - scriptedLaunchOpts := { |
24 |
| - scriptedLaunchOpts.value ++ |
25 |
| - Seq("-Xmx1024M", "-Dplugin.version=" + version.value) |
26 |
| - }, |
27 |
| - scriptedBufferLog := false, |
28 |
| - semanticdbEnabled := true, |
29 |
| - semanticdbVersion := scalafixSemanticdb.revision, |
30 |
| - scalacOptions += "-Ywarn-unused-import", |
31 |
| - libraryDependencies ++= Seq( |
32 |
| - "net.ruippeixotog" %% "scala-scraper" % "2.2.1", |
33 |
| - "com.github.Steppschuh" %% "Java-Markdown-Generator" % "1.3.2", |
34 |
| - "com.github.pathikrit" %% "better-files" % "3.9.1", |
35 |
| - ), |
36 |
| - Global / onLoad := { |
37 |
| - val old = (Global / onLoad).value |
38 |
| - startupTransition compose old |
39 |
| - }, |
40 |
| - ) |
| 1 | +ThisBuild / scalafixDependencies ++= Seq( |
| 2 | + "com.github.liancheng" %% "organize-imports" % "0.6.0", |
| 3 | +) |
| 4 | + |
| 5 | +ThisBuild / homepage := Some(url("https://github.com/atedeg/sbt-ubiquitous-scaladoc")) |
| 6 | +ThisBuild / organization := "dev.atedeg" |
| 7 | +ThisBuild / licenses := List("MIT" -> url("https://opensource.org/licenses/MIT")) |
| 8 | +ThisBuild / wartremoverErrors ++= Warts.allBut(Wart.Any, Wart.Nothing) |
| 9 | + |
| 10 | +resolvers += "jitpack" at "https://jitpack.io" |
| 11 | + |
| 12 | +lazy val startupTransition: State => State = { s: State => |
| 13 | + "conventionalCommits" :: s |
| 14 | +} |
| 15 | + |
| 16 | +lazy val root = project |
| 17 | + .in(file(".")) |
| 18 | + .enablePlugins(SbtPlugin) |
| 19 | + .settings( |
| 20 | + version := "0.1.0-SNAPSHOT", |
| 21 | + name := "sbt-ubiquitous-scaladoc", |
| 22 | + sbtPlugin := true, |
| 23 | + scriptedLaunchOpts := { |
| 24 | + scriptedLaunchOpts.value ++ |
| 25 | + Seq("-Xmx1024M", "-Dplugin.version=" + version.value) |
| 26 | + }, |
| 27 | + scriptedBufferLog := false, |
| 28 | + semanticdbEnabled := true, |
| 29 | + semanticdbVersion := scalafixSemanticdb.revision, |
| 30 | + scalacOptions += "-Ywarn-unused-import", |
| 31 | + libraryDependencies ++= Seq( |
| 32 | + "net.ruippeixotog" %% "scala-scraper" % "2.2.1", |
| 33 | + "com.github.Steppschuh" %% "Java-Markdown-Generator" % "1.3.2", |
| 34 | + "com.github.pathikrit" %% "better-files" % "3.9.1", |
| 35 | + ), |
| 36 | + Global / onLoad := { |
| 37 | + val old = (Global / onLoad).value |
| 38 | + startupTransition compose old |
| 39 | + }, |
| 40 | + ) |
0 commit comments