@@ -12,24 +12,13 @@ scalaVersion := scala212Version
12
12
lazy val commonSettings = Seq (
13
13
scalaJSUseMainModuleInitializer := true , // Test only
14
14
organization := " org.emergentorder.onnx" ,
15
- version := " 1.6.0-0 .1.0-SNAPSHOT" ,
15
+ version := " v0 .1.0-SNAPSHOT" ,
16
16
resolvers += Resolver .mavenLocal,
17
17
resolvers += " Sonatype OSS Snapshots" at " https://oss.sonatype.org/content/repositories/snapshots" ,
18
18
updateOptions := updateOptions.value.withLatestSnapshots(false ),
19
19
scalacOptions ++= Seq (" -feature" , " -unchecked" , " -deprecation" , " -Ywarn-unused" , " -Yrangepos" ),
20
20
autoCompilerPlugins := true ,
21
- organization := " com.github.EmergentOrder" ,
22
- homepage := Some (url(" https://github.com/EmergentOrder/onnx-scala" )),
23
- scmInfo := Some (ScmInfo (url(" https://github.com/EmergentOrder/onnx-scala" ),
24
- " [email protected] :EmergentOrder/onnx-scala.git" )),
25
- developers := List (Developer (" EmergentOrder" ,
26
- " Alexander Merritt" ,
27
-
28
- url(" https://github.com/EmergentOrder" ))),
29
- licenses += (" AGPL-3.0" , url(" https://www.gnu.org/licenses/agpl-3.0.html" )),
30
- publishMavenStyle := true ,
31
- publishTo := sonatypePublishToBundle.value
32
- )
21
+ ) ++ sonatypeSettings
33
22
34
23
lazy val common = (crossProject(JSPlatform , JVMPlatform )
35
24
.crossType(CrossType .Pure ) in file(" common" ))
@@ -55,7 +44,7 @@ lazy val commonJS = common.js
55
44
.disablePlugins(dotty.tools.sbtplugin.DottyPlugin )
56
45
.disablePlugins(dotty.tools.sbtplugin.DottyIDEPlugin )
57
46
58
- lazy val programGenerator = (crossProject(JSPlatform , JVMPlatform )
47
+ lazy val programGenerator = (crossProject(JVMPlatform ) // ,JSPlatform )
59
48
.crossType(CrossType .Pure ) in file(" programGenerator" ))
60
49
.dependsOn(backends)
61
50
.settings(
@@ -76,14 +65,14 @@ lazy val programGenerator = (crossProject(JSPlatform, JVMPlatform)
76
65
scala213Version
77
66
)
78
67
)
79
- .jsSettings(
80
- crossScalaVersions := Seq (
81
- scala212Version,
82
- scala211Version,
83
- scala213Version
84
- )
85
- )
86
- lazy val backends = (crossProject(JVMPlatform , JSPlatform )
68
+ // .jsSettings(
69
+ // crossScalaVersions := Seq(
70
+ // scala212Version,
71
+ // scala211Version,
72
+ // scala213Version
73
+ // )
74
+ // )
75
+ lazy val backends = (crossProject(JVMPlatform ) // JSPlatform)
87
76
.crossType(CrossType .Pure ) in file(" backends" ))
88
77
.dependsOn(core)
89
78
.settings(
@@ -97,9 +86,9 @@ lazy val backends = (crossProject(JVMPlatform, JSPlatform)
97
86
.jvmSettings(
98
87
crossScalaVersions := Seq (scala212Version, scala213Version, scala211Version)
99
88
)
100
- .jsSettings(
101
- crossScalaVersions := Seq (scala212Version, scala211Version, scala213Version)
102
- )
89
+ // .jsSettings(
90
+ // crossScalaVersions := Seq(scala212Version, scala211Version, scala213Version)
91
+ // )
103
92
// .nativeSettings(
104
93
// scalaVersion := scala211Version
105
94
// )
@@ -152,10 +141,6 @@ lazy val core = (crossProject(JSPlatform, JVMPlatform)
152
141
),
153
142
libraryDependencies ++= (CrossVersion
154
143
.partialVersion(scalaVersion.value) match {
155
- case Some ((2 , n)) if (n == 13 || n == 11 ) =>
156
- Seq (
157
- " org.typelevel" %%% " spire" % spireVersion
158
- )
159
144
case _ =>
160
145
Seq (
161
146
" org.typelevel" %%% " spire" % spireVersion
@@ -172,7 +157,7 @@ lazy val core = (crossProject(JSPlatform, JVMPlatform)
172
157
)
173
158
*/
174
159
175
- lazy val zio = (crossProject(JVMPlatform , JSPlatform )
160
+ lazy val zio = (crossProject(JVMPlatform ) // , JSPlatform)
176
161
.crossType(CrossType .Pure ) in file(" zio" ))
177
162
.dependsOn(backends)
178
163
.disablePlugins(dotty.tools.sbtplugin.DottyPlugin )
@@ -183,11 +168,6 @@ lazy val zio = (crossProject(JVMPlatform, JSPlatform)
183
168
publishArtifact in (Compile , packageDoc) := false ,
184
169
libraryDependencies ++= (CrossVersion
185
170
.partialVersion(scalaVersion.value) match {
186
- case Some ((2 , n)) if n == 13 =>
187
- Seq (
188
- // "org.typelevel" %% "cats-effect" % "2.0.0-M4"
189
- " dev.zio" %% " zio" % zioVersion
190
- )
191
171
case _ =>
192
172
Seq (
193
173
" dev.zio" %% " zio" % zioVersion
@@ -197,9 +177,11 @@ lazy val zio = (crossProject(JVMPlatform, JSPlatform)
197
177
.jvmSettings(
198
178
crossScalaVersions := Seq (scala212Version, scala213Version, scala211Version)
199
179
)
200
- .jsSettings(
201
- crossScalaVersions := Seq (scala212Version, scala211Version, scala213Version)
202
- )
180
+ // .jsSettings(
181
+ // crossScalaVersions := Seq(scala212Version, scala211Version, scala213Version)
182
+ // )
183
+
184
+ skip in publish := true
203
185
204
186
lazy val sonatypeSettings = Seq (
205
187
organization := " com.github.EmergentOrder" ,
0 commit comments