Skip to content

Enable partial unification support (SI-2712 fix) for scala 2.10/2.11/2.12/2.13

License

Notifications You must be signed in to change notification settings

fiadliel/sbt-partial-unification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbt-partial-unification

Enable partial unification support (SI-2712 fix) for scala 2.10/2.11/2.12/2.13

This supports either the Scala 2.12/2.11.9+ support for partial unification of types, or the compiler plugin written by Miles Sabin for Scala 2.10 or 2.11.8.

Usage

Add the following to your SBT build (e.g. to project/plugins.sbt):

addSbtPlugin("org.lyranthe.sbt" % "partial-unification" % "1.1.2")

This will be automatically enabled for all projects.

Changing the plugin version

The setting partialUnificationModule describes which plugin should be used to fill in functionality for Scala 2.10.6+ and 2.11.8, and may be altered.

partialUnificationModule := "com.milessabin" % "si2712fix-plugin" % "1.2.0"

Disabling for a project

To disable the plugin for a particular project, use the .disablePlugins method, e.g.:

myProj.disablePlugins(PartialUnification)

About

Enable partial unification support (SI-2712 fix) for scala 2.10/2.11/2.12/2.13

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages