Code Monkey home page Code Monkey logo

scala3-migrate's Introduction

scala3-migrate Latest version Build status

Scala 3 migration plugin for sbt

User documentation

The complete documentation of sbt-scala3-migrate can be found in docs.scala-lang.org.

Usage

Requirements

  • sbt 1.5 or higher
  • java 8 or 11
  • scala 2.13, preferred 2.13.11

Installation

// project/plugins.sbt
addSbtPlugin("ch.epfl.scala" % "sbt-scala3-migrate" % "0.4.6")

Porting the build

To port a build to Scala 3, run the following commands in order, in each project of the build:

  • migrateDependencies <project> helps you update the list of libraryDependencies
  • migrateScalacOptions <project> helps you update the list of scalacOptions
  • migrateSyntax <project> fixes a number of syntax incompatibilities between Scala 2.13 and Scala 3
  • migrateTypes <project> tries to make your code compile with Scala 3 by inferring a few types and resolving a few implicits.

Contributions and feedbacks are welcome

The tool is still under development, and we would love to hear from you. Every feedback will help us build a better tool: typos, clearer log messages, better documentation, bug reports, ideas of features, so please open GitHub issues.

Acknowledgments

This tool is developed by the Scala Center

scala3-migrate's People

Contributors

mlachkar avatar scala-steward avatar adpi2 avatar scala-center-steward[bot] avatar aholland avatar plokhotnyuk avatar bishabosha avatar kacperfkorban avatar keyno63 avatar sourcecodebot avatar sjrd avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.