Skip to content

fiadliel/sbt-partial-unification

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
src
 
 
 
 
 
 
 
 
 
 

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