random-maven / scalor-maven-plugin

Build integrator for Java, Scala, Scala.macro, Scala.js, Scala.native, Eclipse and Maven.
https://random-maven.github.io/scalor-maven-plugin/2.12/plugin-info.html
Other
50 stars 6 forks source link

Scala 3 Support #28

Open AugustNagro opened 3 years ago

AugustNagro commented 3 years ago

Hi, just tried out the plugin with Scala 2.13.6 and it's working great.

For Scala 3 some of the dependencies (checked by regex) have changed.

The compiler bridge went from

                        <dependency>
                            <groupId>org.scala-sbt</groupId>
                            <artifactId>compiler-bridge_2.13</artifactId>
                            <version>1.5.5</version>
                        </dependency>

to

                        <dependency>
                            <groupId>org.scala-lang</groupId>
                            <artifactId>scala3-sbt-bridge</artifactId>
                            <version>3.0.0</version>
                        </dependency>

And the compiler from

                        <dependency>
                            <groupId>org.scala-lang</groupId>
                            <artifactId>scala-compiler</artifactId>
                            <version>2.13.6</version>
                        </dependency>

to

                        <dependency>
                            <groupId>org.scala-lang</groupId>
                            <artifactId>scala3-compiler_3</artifactId>
                            <version>3.0.0</version>
                        </dependency>