File tree 18 files changed +30
-30
lines changed
plugin/src/sbt-test/sbt-mu-srcgen
18 files changed +30
-30
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ lazy val core = project
16
16
" org.typelevel" %% " cats-core" % " 2.10.0" ,
17
17
" com.julianpeeters" %% " avrohugger-core" % " 2.8.3" ,
18
18
" com.thesamet.scalapb" %% " compilerplugin" % " 0.11.15" ,
19
- " com.thesamet.scalapb" %% " scalapb-validate-codegen" % " 0.3.4 " ,
19
+ " com.thesamet.scalapb" %% " scalapb-validate-codegen" % " 0.3.5 " ,
20
20
" org.scalameta" %% " scalameta" % " 4.9.4" ,
21
21
" ch.epfl.scala" %% " scalafix-core" % " 0.12.1" ,
22
22
" ch.epfl.scala" %% " scalafix-cli" % " 0.12.1" cross CrossVersion .full,
@@ -38,7 +38,7 @@ lazy val core = project
38
38
)
39
39
)
40
40
41
- val muV = " 0.31.1 "
41
+ val muV = " 0.32.0 "
42
42
lazy val plugin = project
43
43
.dependsOn(core)
44
44
.settings(moduleName := " sbt-mu-srcgen" )
Original file line number Diff line number Diff line change 1
1
version := sys.props(" version" )
2
- scalaVersion := " 2.13.12 "
2
+ scalaVersion := " 2.13.14 "
3
3
4
4
enablePlugins(SrcGenPlugin )
5
5
Original file line number Diff line number Diff line change 1
1
version := sys.props(" version" )
2
- scalaVersion := " 2.13.12 "
3
- crossScalaVersions := List (scalaVersion.value, " 3.3 .1" )
2
+ scalaVersion := " 2.13.14 "
3
+ crossScalaVersions := List (scalaVersion.value, " 3.4 .1" )
4
4
5
5
enablePlugins(SrcGenPlugin )
6
6
Original file line number Diff line number Diff line change @@ -3,16 +3,16 @@ $ exists src/main/resources/service.avdl
3
3
> 'set muSrcGenSerializationType := higherkindness.mu.rpc.srcgen.Model.SerializationType.Avro'
4
4
> +muSrcGen
5
5
$ exists target/scala-2.13/src_managed/main/io/higherkindness/MyService.scala
6
- $ exists target/scala-3.3 .1/src_managed/main/io/higherkindness/MyService.scala
6
+ $ exists target/scala-3.4 .1/src_managed/main/io/higherkindness/MyService.scala
7
7
> +compile
8
8
$ delete target/scala-2.13/src_managed/main/io/higherkindness/MyService.scala
9
- $ delete target/scala-3.3 .1/src_managed/main/io/higherkindness/MyService.scala
9
+ $ delete target/scala-3.4 .1/src_managed/main/io/higherkindness/MyService.scala
10
10
11
11
> 'set muSrcGenSerializationType := higherkindness.mu.rpc.srcgen.Model.SerializationType.AvroWithSchema'
12
12
> +muSrcGen
13
13
$ exists target/scala-2.13/src_managed/main/io/higherkindness/MyService.scala
14
- $ exists target/scala-3.3 .1/src_managed/main/io/higherkindness/MyService.scala
14
+ $ exists target/scala-3.4 .1/src_managed/main/io/higherkindness/MyService.scala
15
15
$ must-mirror target/scala-2.13/src_managed/main/io/higherkindness/MyService.scala expected/scala-2/MyService.scala.txt
16
- $ must-mirror target/scala-3.3 .1/src_managed/main/io/higherkindness/MyService.scala expected/scala-3/MyService.scala.txt
16
+ $ must-mirror target/scala-3.4 .1/src_managed/main/io/higherkindness/MyService.scala expected/scala-3/MyService.scala.txt
17
17
> +compile
18
18
> +compile
Original file line number Diff line number Diff line change 1
1
version := sys.props(" version" )
2
- scalaVersion := " 2.13.12 "
3
- crossScalaVersions := List (scalaVersion.value, " 3.3 .1" )
2
+ scalaVersion := " 2.13.14 "
3
+ crossScalaVersions := List (scalaVersion.value, " 3.4 .1" )
4
4
5
5
enablePlugins(SrcGenPlugin )
6
6
Original file line number Diff line number Diff line change 1
1
$ exists src/main/resources/model.avdl
2
2
> +muSrcGen
3
3
$ exists target/scala-2.13/src_managed/main/foo/model.scala
4
- $ exists target/scala-3.3 .1/src_managed/main/foo/model.scala
4
+ $ exists target/scala-3.4 .1/src_managed/main/foo/model.scala
5
5
$ must-mirror target/scala-2.13/src_managed/main/foo/model.scala expected/scala-2/model.scala.txt
6
- $ must-mirror target/scala-3.3 .1/src_managed/main/foo/model.scala expected/scala-3/model.scala.txt
6
+ $ must-mirror target/scala-3.4 .1/src_managed/main/foo/model.scala expected/scala-3/model.scala.txt
7
7
> +compile
Original file line number Diff line number Diff line change 1
1
version := sys.props(" version" )
2
- scalaVersion := " 2.13.12 "
3
- crossScalaVersions := List (scalaVersion.value, " 3.3 .1" )
2
+ scalaVersion := " 2.13.14 "
3
+ crossScalaVersions := List (scalaVersion.value, " 3.4 .1" )
4
4
5
5
enablePlugins(SrcGenPlugin )
6
6
Original file line number Diff line number Diff line change 1
1
$ exists src/main/resources/model.avdl
2
2
> +muSrcGen
3
3
$ exists target/scala-2.13/src_managed/main/foo/model.scala
4
- $ exists target/scala-3.3 .1/src_managed/main/foo/model.scala
4
+ $ exists target/scala-3.4 .1/src_managed/main/foo/model.scala
5
5
> +compile
Original file line number Diff line number Diff line change 1
1
version := sys.props(" version" )
2
- scalaVersion := " 2.13.12 "
2
+ scalaVersion := " 2.13.14 "
3
3
4
4
enablePlugins(SrcGenPlugin )
5
5
Original file line number Diff line number Diff line change 1
1
version := sys.props(" version" )
2
- scalaVersion := " 2.13.12 "
2
+ scalaVersion := " 2.13.14 "
3
3
4
4
enablePlugins(SrcGenPlugin )
5
5
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ lazy val root = project
8
8
.settings(
9
9
name := " root" ,
10
10
version := " 1.0.0" ,
11
- scalaVersion := " 2.13.12 " ,
11
+ scalaVersion := " 2.13.14 " ,
12
12
muSrcGenIdlType := IdlType .Avro ,
13
13
muSrcGenSourceDirs := Seq (
14
14
(Compile / resourceDirectory).value / " domain" ,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ lazy val domain = project
8
8
.settings(
9
9
organization := " foo.bar.srcgenfromjars" ,
10
10
name := " domain" ,
11
- scalaVersion := " 2.13.12 " ,
11
+ scalaVersion := " 2.13.14 " ,
12
12
version := " 1.0.0-SNAPSHOT" ,
13
13
Compile / packageBin / mappings ~= { _.filter(! _._1.getName.endsWith(" .class" )) },
14
14
muSrcGenIdlType := IdlType .Avro ,
@@ -24,7 +24,7 @@ lazy val root = project
24
24
.enablePlugins(SrcGenPlugin )
25
25
.settings(
26
26
name := " root" ,
27
- scalaVersion := " 2.13.12 " ,
27
+ scalaVersion := " 2.13.14 " ,
28
28
version := sys.props(" version" ),
29
29
muSrcGenIdlType := IdlType .Avro ,
30
30
muSrcGenJarNames := Seq (" domain" ),
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ lazy val domain = project
8
8
.settings(
9
9
organization := " foo.bar.srcgenfromjars2" ,
10
10
name := " domain" ,
11
- scalaVersion := " 2.13.12 " ,
11
+ scalaVersion := " 2.13.14 " ,
12
12
version := " 1.0.0-SNAPSHOT" ,
13
13
Compile / packageBin / mappings ~= { _.filter(! _._1.getName.endsWith(" .class" )) },
14
14
muSrcGenIdlType := IdlType .Avro ,
@@ -24,7 +24,7 @@ lazy val root = project
24
24
.enablePlugins(SrcGenPlugin )
25
25
.settings(
26
26
name := " root" ,
27
- scalaVersion := " 2.13.12 " ,
27
+ scalaVersion := " 2.13.14 " ,
28
28
version := sys.props(" version" ),
29
29
muSrcGenIdlType := IdlType .Avro ,
30
30
muSrcGenJarNames := Seq (" domain" ),
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ lazy val root = project
6
6
.in(file(" ." ))
7
7
.enablePlugins(SrcGenPlugin )
8
8
.settings(
9
- crossScalaVersions := Seq (" 2.13.12 " , " 3.3 .1" ),
9
+ crossScalaVersions := Seq (" 2.13.14 " , " 3.4 .1" ),
10
10
muSrcGenIdlType := IdlType .Proto ,
11
11
muSrcGenTargetDir := (Compile / sourceManaged).value / " compiled_proto" ,
12
12
libraryDependencies ++= Seq (
Original file line number Diff line number Diff line change @@ -4,4 +4,4 @@ $ exists target/scala-2.13/src_managed/main/compiled_proto/com/proto/book/Book.s
4
4
$ exists target/scala-2.13/src_managed/main/compiled_proto/com/proto/book/GetBookRequest.scala
5
5
$ exists target/scala-2.13/src_managed/main/compiled_proto/com/proto/book/BookService.scala
6
6
$ must-mirror target/scala-2.13/src_managed/main/compiled_proto/com/proto/book/BookService.scala expected/scala-2/BookService.scala.txt
7
- $ must-mirror target/scala-3.3 .1/src_managed/main/compiled_proto/com/proto/book/BookService.scala expected/scala-3/BookService.scala.txt
7
+ $ must-mirror target/scala-3.4 .1/src_managed/main/compiled_proto/com/proto/book/BookService.scala expected/scala-3/BookService.scala.txt
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ lazy val domain = project
8
8
.settings(
9
9
organization := " foo.bar.srcprotogenfromjars" ,
10
10
name := " domain" ,
11
- scalaVersion := " 2.13.12 " ,
11
+ scalaVersion := " 2.13.14 " ,
12
12
version := " 1.0.0-SNAPSHOT" ,
13
13
Compile / packageBin / mappings ~= { _.filter(! _._1.getName.endsWith(" .class" )) },
14
14
muSrcGenIdlType := IdlType .Proto ,
@@ -26,7 +26,7 @@ lazy val root = project
26
26
.enablePlugins(SrcGenPlugin )
27
27
.settings(
28
28
name := " root" ,
29
- scalaVersion := " 2.13.12 " ,
29
+ scalaVersion := " 2.13.14 " ,
30
30
version := sys.props(" version" ),
31
31
muSrcGenIdlType := IdlType .Proto ,
32
32
muSrcGenJarNames := Seq (" domain" ),
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ lazy val domain = project
8
8
.settings(
9
9
organization := " foo.bar.srcprotogenfromjars2" ,
10
10
name := " domain" ,
11
- scalaVersion := " 2.13.12 " ,
11
+ scalaVersion := " 2.13.14 " ,
12
12
version := " 1.0.0-SNAPSHOT" ,
13
13
Compile / packageBin / mappings ~= { _.filter(! _._1.getName.endsWith(" .class" )) },
14
14
muSrcGenIdlType := IdlType .Proto ,
@@ -26,7 +26,7 @@ lazy val root = project
26
26
.enablePlugins(SrcGenPlugin )
27
27
.settings(
28
28
name := " root" ,
29
- scalaVersion := " 2.13.12 " ,
29
+ scalaVersion := " 2.13.14 " ,
30
30
version := sys.props(" version" ),
31
31
muSrcGenIdlType := IdlType .Proto ,
32
32
muSrcGenJarNames := Seq (" domain" ),
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ lazy val root = project
6
6
.in(file(" ." ))
7
7
.enablePlugins(SrcGenPlugin )
8
8
.settings(
9
- crossScalaVersions := Seq (" 2.13.12 " , " 3.3 .1" ),
9
+ crossScalaVersions := Seq (" 2.13.14 " , " 3.4 .1" ),
10
10
muSrcGenIdlType := IdlType .Proto ,
11
11
muSrcGenTargetDir := (Compile / sourceManaged).value / " compiled_proto" ,
12
12
muSrcGenValidateProto := true ,
You can’t perform that action at this time.
0 commit comments