diff --git a/README.md b/README.md index 39ee8e8..b2850a2 100644 --- a/README.md +++ b/README.md @@ -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** diff --git a/src/main/scala/gs/Gs.scala b/src/main/scala/gs/Gs.scala index ad33897..ec1519b 100644 --- a/src/main/scala/gs/Gs.scala +++ b/src/main/scala/gs/Gs.scala @@ -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. */ diff --git a/src/main/scala/gs/GsPlugin.scala b/src/main/scala/gs/GsPlugin.scala index 667242e..75b744c 100644 --- a/src/main/scala/gs/GsPlugin.scala +++ b/src/main/scala/gs/GsPlugin.scala @@ -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,