Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
Prevents autoImporting everything (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpedromoreno authored Apr 11, 2017
1 parent 19b4b3e commit 86b280c
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/main/scala/sbtorgpolicies/OrgPoliciesPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ object OrgPoliciesPlugin extends AutoPlugin {

object autoImport extends OrgPoliciesKeys with DefaultSettings

import autoImport._

override def requires: Plugins = plugins.JvmPlugin && ScalafmtPlugin

override def trigger: PluginTrigger = allRequirements

override def projectSettings: Seq[Def.Setting[_]] = orgDefaultSettings
override def projectSettings: Seq[Def.Setting[_]] = autoImport.orgDefaultSettings

override def globalSettings: Seq[Def.Setting[_]] = pgpSettings
override def globalSettings: Seq[Def.Setting[_]] = autoImport.pgpSettings
}

0 comments on commit 86b280c

Please sign in to comment.