|
1 |
| -lazy val commonSettings = Seq( |
2 |
| - ThisBuild / organization := "com.eed3si9n", |
3 |
| - scalaVersion := "2.12.15" |
4 |
| -) |
| 1 | +lazy val commonSettings = inThisBuild( |
| 2 | + List( |
| 3 | + organization := "com.github.sbt", |
| 4 | + homepage := Some(url("https://github.com/sbt/sbt-unidoc")), |
| 5 | + licenses := Seq("Apache License v2" -> url("http://www.apache.org/licenses/LICENSE-2.0.html")), |
| 6 | + developers := List( |
| 7 | + Developer( |
| 8 | + "eed3si9n", |
| 9 | + "Eugene Yokota", |
| 10 | + "@eed3si9n", |
| 11 | + url("https://github.com/eed3si9n") |
| 12 | + ) |
| 13 | + ) |
| 14 | + ) |
| 15 | + ) ++ Seq( |
| 16 | + scalaVersion := "2.12.15" |
| 17 | + ) |
5 | 18 |
|
6 | 19 | lazy val root = (project in file(".")).
|
7 | 20 | enablePlugins(SbtPlugin).
|
8 | 21 | settings(commonSettings: _*).
|
9 | 22 | settings(
|
10 | 23 | name := "sbt-unidoc",
|
11 | 24 | description := "sbt plugin to create a unified API document across projects",
|
12 |
| - licenses := Seq("Apache License v2" -> url("http://www.apache.org/licenses/LICENSE-2.0.html")), |
13 | 25 | scalacOptions := Seq("-deprecation", "-unchecked"),
|
14 | 26 | Compile / packageBin / publishArtifact := true,
|
15 | 27 | Test / packageBin / publishArtifact := false,
|
16 | 28 | Compile / packageDoc / publishArtifact := false,
|
17 | 29 | Compile / packageSrc / publishArtifact := true,
|
18 |
| - publishMavenStyle := false, |
19 |
| - bintrayOrganization := Some("sbt"), |
20 |
| - bintrayRepository := "sbt-plugin-releases", |
21 | 30 | scriptedLaunchOpts ++= Seq("-Xmx1024M", "-XX:MaxPermSize=256M", "-Dplugin.version=" + version.value),
|
22 | 31 | scriptedBufferLog := false
|
23 | 32 | )
|
0 commit comments