diff options
author | Jakob Odersky <jakob@odersky.com> | 2016-03-24 18:12:25 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2016-03-24 18:12:25 -0700 |
commit | 5b015e6e20903c9fc1c79c7b2a343f8591c51ac1 (patch) | |
tree | 04cc2676fd7eb7475b8e8365ddbb66158943f453 /home/.sbt | |
parent | 614824b19e731160fe8f6d6dff27c6152db9fb80 (diff) | |
download | dotfiles-5b015e6e20903c9fc1c79c7b2a343f8591c51ac1.tar.gz dotfiles-5b015e6e20903c9fc1c79c7b2a343f8591c51ac1.tar.bz2 dotfiles-5b015e6e20903c9fc1c79c7b2a343f8591c51ac1.zip |
Use locally published ensime
Diffstat (limited to 'home/.sbt')
-rw-r--r-- | home/.sbt/0.13/build.sbt | 29 | ||||
-rw-r--r-- | home/.sbt/0.13/plugins/plugins.sbt | 4 |
2 files changed, 29 insertions, 4 deletions
diff --git a/home/.sbt/0.13/build.sbt b/home/.sbt/0.13/build.sbt index e590ed3..cb86f56 100644 --- a/home/.sbt/0.13/build.sbt +++ b/home/.sbt/0.13/build.sbt @@ -1,10 +1,35 @@ +/* + * PGP + */ import com.typesafe.sbt.pgp.PgpKeys._ pgpSigningKey in Global := Some(0x2CED17AB2B6D6F37l) useGpgAgent in Global := true useGpg in Global := true -//don't automatically release on publish +/* + * Bintray + */ bintray.BintrayKeys.bintrayReleaseOnPublish := false +/* + * Ensime + */ //ignore source and doc jars in ensime -transitiveClassifiers in Global := List("") +//transitiveClassifiers in Global := List("") + +/* +import org.ensime.{ EnsimeConfig, EnsimeModule } +import org.ensime.Imports._ + +EnsimeKeys.configTransformer := {(cfg: EnsimeConfig) => { + val config = EnsimeKeys.configTransformer.value(cfg) + val cleanedModules = config.modules.map{ case (name, module) => + val goodSrcJars = module.sourceJars.filterNot{f => + f.name.startsWith("stax-api") + } + name -> module.copy(sourceJars = goodSrcJars) + } + + config.copy(modules = cleanedModules) +}} + */ diff --git a/home/.sbt/0.13/plugins/plugins.sbt b/home/.sbt/0.13/plugins/plugins.sbt index 9b12b91..0c3873f 100644 --- a/home/.sbt/0.13/plugins/plugins.sbt +++ b/home/.sbt/0.13/plugins/plugins.sbt @@ -1,10 +1,10 @@ addSbtPlugin("me.lessis" % "bintray-sbt" % "0.3.0") -addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.5") +addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.8.2") addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "4.0.0") -addSbtPlugin("org.ensime" % "ensime-sbt" % "0.4.0") +//addSbtPlugin("org.ensime" % "ensime-sbt" % "0.4.1-local") addSbtPlugin("com.jsuereth" % "sbt-pgp" % "1.0.0") |