Skip to content

Commit 752d948

Browse files
committed
Configure sonatype
1 parent 836a1a5 commit 752d948

File tree

1 file changed

+2
-14
lines changed

1 file changed

+2
-14
lines changed

build.sbt

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
import xerial.sbt.Sonatype.sonatypeCentralHost
22

3-
val scala3Version = "3.5.0"
4-
3+
ThisBuild / scalaVersion := "3.5.0"
54
ThisBuild / licenses := List(("MIT", url("https://opensource.org/licenses/MIT")))
65
ThisBuild / homepage := Some(url("https://github.com/d10xa/json-log-viewer"))
76
ThisBuild / organization := "ru.d10xa"
8-
//ThisBuild / versionScheme := Some("early-semver")
97
ThisBuild / developers := List(
108
Developer(
119
"d10xa",
@@ -16,19 +14,13 @@ ThisBuild / developers := List(
1614
)
1715
ThisBuild / sonatypeCredentialHost := sonatypeCentralHost
1816

19-
val commonSettings = Seq(
20-
scalaVersion := scala3Version
21-
)
22-
//ThisBuild / publishTo := sonatypePublishToBundle.value
23-
2417
val circeVersion = "0.14.10"
2518
val declineVersion = "2.4.1"
2619
val fs2Version = "3.11.0"
2720

2821
lazy val `json-log-viewer` = crossProject(JSPlatform, JVMPlatform)
2922
.in(file("json-log-viewer"))
30-
.jvmEnablePlugins(JavaAppPackaging)
31-
.settings(commonSettings)
23+
// .jvmEnablePlugins(JavaAppPackaging)
3224
.settings(
3325
name := "json-log-viewer",
3426
organization := "ru.d10xa",
@@ -49,10 +41,8 @@ lazy val `json-log-viewer` = crossProject(JSPlatform, JVMPlatform)
4941
),
5042
fork := true,
5143
run / connectInput := true,
52-
publish / skip := true
5344
)
5445
.jvmSettings(
55-
publishTo := sonatypePublishToBundle.value,
5646
publish / skip := false
5747
)
5848
.jsSettings(
@@ -64,7 +54,6 @@ lazy val `json-log-viewer` = crossProject(JSPlatform, JVMPlatform)
6454

6555
lazy val `make-logs` = project
6656
.in(file("make-logs"))
67-
.settings(commonSettings)
6857
.settings(
6958
publish / skip := true,
7059
libraryDependencies ++= Seq(
@@ -78,7 +67,6 @@ lazy val `frontend-laminar` = project
7867
.in(file("frontend-laminar"))
7968
.enablePlugins(ScalaJSPlugin, ScalaJSBundlerPlugin)
8069
.dependsOn(`json-log-viewer`.js)
81-
.settings(commonSettings)
8270
.settings(
8371
publish / skip := true,
8472
(installJsdom / version) := "20.0.3",

0 commit comments

Comments
 (0)