-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0c2e0a2
commit f73b9a6
Showing
7 changed files
with
130 additions
and
112 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,9 +1,42 @@ | ||
.terraform/ | ||
# ------------------ autogenerated file - do not edit ------------------- | ||
# This file was generated by sbt-laserdisc-defaults | ||
# | ||
# Please check in any changes generated in this file (for IDE support) | ||
# | ||
# To make changes, please publish a new version of the plugin at: | ||
# https://github.com/laserdisc-io/sbt-laserdisc-defaults | ||
# | ||
# To temporarily disable generation, set this at the top of build.sbt: | ||
# ThisBuild / laserdiscGitIgnoreGenOn := false | ||
# ----------------------------------------------------------------------- | ||
|
||
# tip: use a "global" gitignore (core.excludesfile) for your own, local, personal preferences | ||
# See: https://gist.github.com/subfuzion/db7f57fff2fb6998a16c | ||
|
||
# scala / sbt / java | ||
project/project/ | ||
project/target/ | ||
target/ | ||
.sbtopts | ||
.tasty | ||
|
||
# intellij | ||
.idea/ | ||
.idea/* | ||
*.iml | ||
|
||
# metals / bsp | ||
.metals/ | ||
.bloop/ | ||
.bsp/ | ||
.jvmopts | ||
.DS_Store | ||
project/metals.sbt | ||
|
||
# vscode | ||
.vscode/ | ||
|
||
# terraform | ||
.terraform/ | ||
*.tfplan | ||
*.terraform.lock.hcl | ||
|
||
# mac | ||
.DS_Store |
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
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
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
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
import sbt.Keys.* | ||
import sbt.{Def, *} | ||
|
||
object Devs { | ||
val Julien = Developer("sirocchi", "Julien Sirocchi", "", url("https://github.com/sirocchj")) | ||
val Filippo = Developer("barambani", "Filippo Mariotti", "", url("https://github.com/barambani")) | ||
val Barry = Developer("barryoneill", "Barry O'Neill", "", url("https://github.com/barryoneill")) | ||
val Dmytro = Developer("semenodm", "Dmytro Semenov", "", url("https://github.com/semenodm")) | ||
val Amir = Developer("amir", "Amir Saeid", "", url("https://github.com/amir")) | ||
val Jenny = Developer("jennyleahy", "Jenny Leahy", "", url("https://github.com/jennyleahy")) | ||
} | ||
|
||
package object laserdisc { | ||
|
||
def publishSettings( | ||
laserdiscRepoName: String, | ||
defaultBranchName: Option[String] = None, | ||
devs: List[Developer], | ||
licenseName: String | ||
): Seq[Def.Setting[?]] = { | ||
val branch = defaultBranchName.getOrElse("main") | ||
Seq( | ||
Test / publishArtifact := false, | ||
pomIncludeRepository := (_ => false), | ||
organization := "io.laserdisc", | ||
homepage := Some(url(s"http://laserdisc.io/$laserdiscRepoName")), | ||
developers := devs, | ||
scmInfo := Some( | ||
ScmInfo( | ||
url(s"https://github.com/laserdisc-io/$laserdiscRepoName/tree/${branch}"), | ||
s"scm:git:git@github.com:laserdisc-io/$laserdiscRepoName.git" | ||
) | ||
), | ||
licenses := Seq( | ||
licenseName -> url(s"https://raw.githubusercontent.com/laserdisc-io/${laserdiscRepoName}/${branch}/LICENSE") | ||
) | ||
) | ||
} | ||
|
||
} |
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 +1,13 @@ | ||
sbt.version=1.10.2 | ||
# ------------------ autogenerated file - do not edit ------------------- | ||
# This file was generated by sbt-laserdisc-defaults | ||
# | ||
# Please check in any changes generated in this file (for IDE support) | ||
# | ||
# To make changes, please publish a new version of the plugin at: | ||
# https://github.com/laserdisc-io/sbt-laserdisc-defaults | ||
# | ||
# To temporarily disable generation, set this at the top of build.sbt: | ||
# ThisBuild / laserdiscSBTVersionGenOn := false | ||
# ----------------------------------------------------------------------- | ||
|
||
sbt.version = 1.10.5 |
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,4 +1,4 @@ | ||
addSbtPlugin("org.scalameta" % "sbt-scalafmt" % "2.5.2") | ||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.12.0") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.11") | ||
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.7.0") | ||
addSbtPlugin("io.laserdisc" % "sbt-laserdisc-defaults" % "0.1.1") | ||
addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.13.1") | ||
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.0.12") | ||
addSbtPlugin("com.github.sbt" % "sbt-ci-release" % "1.9.0") |