@@ -3,7 +3,6 @@ import sbtcrossproject.CrossPlugin.autoImport.{crossProject, CrossType}
3
3
val dottyVersion = " 3.0.0-RC1"
4
4
val scala213Version = " 2.13.5"
5
5
val spireVersion = " 0.17.0"
6
- val scalametaVersion = " 4.4.10"
7
6
8
7
scalaVersion := dottyVersion
9
8
@@ -17,12 +16,11 @@ lazy val commonSettings = Seq(
17
16
updateOptions := updateOptions.value.withLatestSnapshots(false ),
18
17
scalacOptions ++= Seq (" -feature" , " -unchecked" , " -deprecation" ),
19
18
autoCompilerPlugins := true ,
20
- sources in (Compile , doc) := Seq (), // Bug w/ Dotty & JS on doc
19
+ // sources in (Compile, doc) := Seq(), //Bug w/ Dotty & JS on doc
21
20
) ++ sonatypeSettings
22
21
23
22
lazy val common = (crossProject(JSPlatform , JVMPlatform )
24
23
.crossType(CrossType .Pure ) in file(" common" ))
25
- // .enablePlugins(ScalaJSPlugin)
26
24
.settings(commonSettings, name := " onnx-scala-common" ,
27
25
crossScalaVersions := Seq (
28
26
dottyVersion,
@@ -56,7 +54,7 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
56
54
.crossType(CrossType .Pure ) in file(" backends" ))
57
55
.dependsOn(core)
58
56
// conditionally enabling/disable based on version, still not working
59
- // .enablePlugins(ScalaJSBundlerPlugin) //{ ScalablyTypedConverterPlugin} )
57
+ .enablePlugins(ScalaJSBundlerPlugin )// , ScalablyTypedConverterPlugin)
60
58
.settings(
61
59
commonSettings,
62
60
name := " onnx-scala-backends" ,
@@ -79,10 +77,10 @@ lazy val backends = (crossProject(JSPlatform, JVMPlatform)
79
77
),
80
78
crossScalaVersions := Seq (dottyVersion, scala213Version)
81
79
)
82
- // .jvmSettings().jsSettings(
83
- // scalaJSUseMainModuleInitializer := true) //, //Testing
80
+ .jvmSettings().jsSettings(
81
+ scalaJSUseMainModuleInitializer := true , // , //Testing
84
82
// Seems to be a bundling issue, copying things manually seems to work
85
- // npmDependencies in Compile += "onnxjs" -> "0.1.8")
83
+ npmDependencies in Compile += " onnxjs" -> " 0.1.8" )
86
84
87
85
lazy val core = (crossProject(JSPlatform , JVMPlatform )
88
86
.crossType(CrossType .Pure ) in file(" core" ))
@@ -115,7 +113,7 @@ lazy val core = (crossProject(JSPlatform, JVMPlatform)
115
113
})
116
114
)
117
115
118
- /*
116
+
119
117
lazy val docs = (crossProject(JVMPlatform )
120
118
.crossType(CrossType .Pure ) in file(" core-docs" )) // new documentation project
121
119
.settings(
@@ -129,7 +127,7 @@ lazy val docs = (crossProject(JVMPlatform)
129
127
.jvmSettings(
130
128
crossScalaVersions := Seq (scala213Version)
131
129
)
132
- */
130
+
133
131
skip in publish := true
134
132
sonatypeProfileName := " com.github.EmergentOrder"
135
133
0 commit comments