Skip to content

Commit

Permalink
Minor fixes:
Browse files Browse the repository at this point in the history
- Removed wildcard import
- Removed unnecessary Def.task wrapping
  • Loading branch information
laughedelic committed Oct 2, 2017
1 parent 558ded9 commit df66800
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion project/BuildPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ object BuildPlugin extends AutoPlugin {

object BuildDefaults {
import sbt.url
import sbt.io.syntax._
import sbt.io.syntax.fileToRichFile
import sbt.{ScmInfo, Developer, Resolver, ThisBuild, Watched, Compile, Test}

// This should be added to upstream sbt.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -480,9 +480,8 @@ trait Helper {

// Ensure licenses before releasing
val useBintray = !PrivateKeys.releaseEarlyIsSonatype.value
if (useBintray) Def.task {
bintray.BintrayKeys.bintrayEnsureLicenses.value
} else Def.task(())
if (useBintray) bintray.BintrayKeys.bintrayEnsureLicenses
else Def.task(())
}

def runCommandAndRemaining(command: String): State => State = { st: State =>
Expand Down

0 comments on commit df66800

Please sign in to comment.