Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix publish info #247

Merged
merged 2 commits into from
Jul 25, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions build.sbt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import Build.*

import scala.collection.Seq
inThisBuild(
List(
organization := "com.lunatech",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Btw organization is also set in commonSettings, so you can remove it there and just have it here.

homepage := Some(url("https://cmt.lunatech.com/")),
developers := List(Developer("eloots", "Eric Loots", "eric.loots@lunatech.com", url("https://github.com/eloots"))),
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/license/LICENSE-2.0"))))

ThisBuild / dynverVTagPrefix := false
ThisBuild / sonatypeCredentialHost := "s01.oss.sonatype.org"
Expand All @@ -11,12 +16,6 @@ lazy val `course-management-tools` =
.aggregate(cmta, cmtc, core, `functional-tests`, docs)
.settings(commonSettings: _*)
.settings(publish / skip := true)
.settings(List(
organization := "com.lunatech",
homepage := Some(url("https://cmt.lunatech.com/")),
developers := List(
Developer("eloots", "Eric Loots", "eric.loots@lunatech.com", url("https://github.com/eloots"))),
licenses := Seq("Apache-2.0" -> url("http://www.apache.org/license/LICENSE-2.0"))))

lazy val core =
project.in(file("core")).settings(commonSettings: _*).settings(libraryDependencies ++= Dependencies.coreDependencies)
Expand Down
1 change: 0 additions & 1 deletion project/Build.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ object Build {
}

lazy val commonSettings = Seq(
organization := "com.github.lunatech-labs",
scalaVersion := Version.scalaVersion,
scalacOptions ++= CompileOptions.compileOptions,
buildInfoPackage := "com.lunatech.cmt.version",
Expand Down