@@ -43,8 +43,8 @@ abstract class ExportJsonTestDefinitions(val scalaVersionOpt: Option[String])
43
43
|"scalaVersion":" ${Constants .scala3}",
44
44
|"platform":"JVM",
45
45
|"jvmVersion":"adopt:11",
46
- |"scopes": {
47
- | "main": {
46
+ |"scopes": [[
47
+ | "main", {
48
48
| "sources": ["Main.scala"],
49
49
| "dependencies": [
50
50
| {
@@ -62,7 +62,7 @@ abstract class ExportJsonTestDefinitions(val scalaVersionOpt: Option[String])
62
62
| "ivy:file:.../.ivy2/local/"
63
63
| ]
64
64
| }
65
- |}
65
+ |]]
66
66
|}
67
67
| """ .replaceAll(" \\ s|\\ |" , " " ))
68
68
}
@@ -107,8 +107,8 @@ abstract class ExportJsonTestDefinitions(val scalaVersionOpt: Option[String])
107
107
|"scalaVersion":"3.2.2",
108
108
|"platform":"Native",
109
109
|"scalaNativeVersion":" ${Constants .scalaNativeVersion}",
110
- |"scopes": {
111
- | "main": {
110
+ |"scopes": [[
111
+ | "main", {
112
112
| "sources": ["Main.scala"],
113
113
| "scalacOptions":["-Xasync"],
114
114
| "scalaCompilerPlugins": [
@@ -136,8 +136,8 @@ abstract class ExportJsonTestDefinitions(val scalaVersionOpt: Option[String])
136
136
| "ivy:file:.../scalacli/local-repo/...",
137
137
| "ivy:file:.../.ivy2/local/"
138
138
| ]
139
- | },
140
- | "test": {
139
+ | }], [
140
+ | "test", {
141
141
| "sources":["unit.test.scala"],
142
142
| "scalacOptions":["-Xasync"],
143
143
| "scalaCompilerPlugins": [
@@ -169,7 +169,7 @@ abstract class ExportJsonTestDefinitions(val scalaVersionOpt: Option[String])
169
169
| "resourcesDirs":["./resources"],
170
170
| "customJarsDecls":["./TEST.jar"]
171
171
| }
172
- |}
172
+ |]]
173
173
|}
174
174
| """ .replaceAll(" \\ s|\\ |" , " " ))
175
175
}
@@ -215,8 +215,8 @@ abstract class ExportJsonTestDefinitions(val scalaVersionOpt: Option[String])
215
215
|"platform": "JS",
216
216
|"scalaJsVersion": " ${Constants .scalaJsVersion}",
217
217
|"jsEsVersion":"es2015",
218
- |"scopes": {
219
- | "main": {
218
+ |"scopes": [[
219
+ | "main", {
220
220
| "sources": ["Main.scala"],
221
221
| "scalacOptions": ["-Xasync"],
222
222
| "scalaCompilerPlugins": [
@@ -245,7 +245,7 @@ abstract class ExportJsonTestDefinitions(val scalaVersionOpt: Option[String])
245
245
| "ivy:file:.../.ivy2/local/"
246
246
| ]
247
247
| }
248
- |}
248
+ |]]
249
249
|}
250
250
| """ .replaceAll(" \\ s|\\ |" , " " ))
251
251
0 commit comments