From 37d17e70bd445c6b8d267fc58b5374fe76b37d67 Mon Sep 17 00:00:00 2001 From: Natsu Kagami Date: Tue, 14 May 2024 10:43:14 +0200 Subject: [PATCH] Move publish settings upwards --- build.sbt | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/build.sbt b/build.sbt index b77b43c..2191ba3 100644 --- a/build.sbt +++ b/build.sbt @@ -5,6 +5,15 @@ ThisBuild / scalaVersion := "3.3.3" publish / skip := true +inThisBuild( + Seq( + // publish settings + organization := "ch.epfl.lamp", + homepage := Some(url("https://lampepfl.github.io/gears")), + licenses := List(License.Apache2) + ) +) + lazy val root = crossProject(JVMPlatform, NativePlatform) .crossType(CrossType.Full) @@ -14,12 +23,7 @@ lazy val root = name := "Gears", versionScheme := Some("early-semver"), libraryDependencies += "org.scalameta" %%% "munit" % "1.0.0-RC1" % Test, - testFrameworks += new TestFramework("munit.Framework"), - - // publish settings - organization := "ch.epfl.lamp", - homepage := Some(url("https://lampepfl.github.io/gears")), - licenses := List(License.Apache2) + testFrameworks += new TestFramework("munit.Framework") ) ) .jvmSettings(