Release 0.4.0: Support scala 3.5.0, remove default license.
This commit is contained in:
parent
b1b9eadd2d
commit
011ce15ffc
3 changed files with 7 additions and 15 deletions
|
@ -9,7 +9,7 @@ for non-GS projects.
|
|||
```scala
|
||||
resolvers += "Garrity Software Releases" at "https://maven.garrity.co/gs"
|
||||
|
||||
addSbtPlugin("gs" % "sbt-garrity-software" % "0.1.0")
|
||||
addSbtPlugin("gs" % "sbt-garrity-software" % "0.4.0")
|
||||
```
|
||||
|
||||
**File: build.sbt**
|
||||
|
|
|
@ -8,11 +8,11 @@ object Gs {
|
|||
*/
|
||||
val CompilerOptions: Seq[String] = Seq(
|
||||
"-encoding",
|
||||
"utf8", // Set source file character encoding.
|
||||
"-deprecation", // Emit warning and location for usages of deprecated APIs.
|
||||
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
|
||||
"-explain", // Explain errors in more detail.
|
||||
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
|
||||
"utf8", // Set source file character encoding.
|
||||
"-deprecation", // Emit warning and location for usages of deprecated APIs.
|
||||
"-feature", // Emit warning and location for usages of features that should be imported explicitly.
|
||||
"-explain", // Explain errors in more detail.
|
||||
"-unchecked", // Enable additional warnings where generated code depends on assumptions.
|
||||
"-explain-types", // Explain type errors in more detail.
|
||||
"-Xfatal-warnings", // Fail the compilation if there are any warnings.
|
||||
"-language:strictEquality", // Enable multiversal equality (require CanEqual)
|
||||
|
@ -21,16 +21,9 @@ object Gs {
|
|||
"-Wunused:imports", // Warn if an import selector is not referenced.
|
||||
"-Wunused:locals", // Warn if a local definition is unused.
|
||||
"-Wunused:privates", // Warn if a private member is unused.
|
||||
"-Ysafe-init" // Enable the experimental safe initialization check.
|
||||
"-Wsafe-init" // Enable the safe initialization check.
|
||||
)
|
||||
|
||||
/**
|
||||
* Definition of the MIT license. This is the default license for GS
|
||||
* open source projects.
|
||||
*/
|
||||
val MIT: (String, java.net.URL) =
|
||||
"MIT" -> sbt.url("https://garrity.co/MIT.html")
|
||||
|
||||
/**
|
||||
* Host of the GS Git server.
|
||||
*/
|
||||
|
|
|
@ -20,7 +20,6 @@ object GsPlugin extends AutoPlugin {
|
|||
connection = Gs.gitSsh(gsProjectName.value)
|
||||
)
|
||||
),
|
||||
licenses := List(Gs.MIT),
|
||||
homepage := Some(url(Gs.gitRepo(gsProjectName.value))),
|
||||
organizationName := Gs.OrganizationName,
|
||||
organization := Gs.GroupId,
|
||||
|
|
Loading…
Add table
Reference in a new issue