You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2018/03/28 21:15:44 UTC

[8/9] logging-log4j-scala git commit: Add more metadata and publish settings

Add more metadata and publish settings


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/commit/e29f8717
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/tree/e29f8717
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/diff/e29f8717

Branch: refs/heads/sbt
Commit: e29f8717fb5255defe41078550bee1ea92e3cd48
Parents: dcb1e2d
Author: Matt Sicker <bo...@gmail.com>
Authored: Wed Mar 28 16:14:59 2018 -0500
Committer: Matt Sicker <bo...@gmail.com>
Committed: Wed Mar 28 16:14:59 2018 -0500

----------------------------------------------------------------------
 build.sbt | 20 +++++++++++++-------
 1 file changed, 13 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j-scala/blob/e29f8717/build.sbt
----------------------------------------------------------------------
diff --git a/build.sbt b/build.sbt
index d6f10ea..c95f3d3 100644
--- a/build.sbt
+++ b/build.sbt
@@ -1,12 +1,12 @@
 import Dependencies._
 
 name := "Log4j Scala API"
-organization := "org.apache.logging.log4j"
-//organizationName := "Apache Software Foundation"
-//organizationHomepage := Some(url("https://www.apache.org/"))
-homepage := Some(url("https://logging.apache.org/log4j/scala/"))
-//licenses := Seq("Apache License, Version 2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
-scmInfo := Some(ScmInfo(
+organization in ThisBuild := "org.apache.logging.log4j"
+organizationName in ThisBuild := "Apache Software Foundation"
+organizationHomepage in ThisBuild := Some(url("https://www.apache.org/"))
+homepage in ThisBuild := Some(url("https://logging.apache.org/log4j/scala/"))
+licenses in ThisBuild := Seq("Apache License, Version 2.0" -> url("https://www.apache.org/licenses/LICENSE-2.0.txt"))
+scmInfo in ThisBuild := Some(ScmInfo(
   url("https://git-wip-us.apache.org/repos/asf?p=logging-log4j-scala.git;a=summary"),
   "scm:git:http://git-wip-us.apache.org/repos/asf/logging-log4j-scala.git",
   "scm:git:https://git-wip-us.apache.org/repos/asf/logging-log4j-scala.git"
@@ -28,8 +28,14 @@ lazy val publishSettings = Seq(
   }
 )
 
+lazy val releaseSettings = Seq(
+  releaseCrossBuild := true
+)
+
 lazy val api = (project in file("api"))
   .settings(commonSettings: _*)
+  .settings(publishSettings: _*)
+  .settings(releaseSettings: _*)
   .settings(
     name := "log4j-api-scala",
     scalaVersion := scala211,
@@ -63,7 +69,7 @@ lazy val api = (project in file("api"))
 //  )
 //  .dependsOn(api)
 
-pomExtra := {
+pomExtra in ThisBuild := {
   <parent>
     <groupId>org.apache.logging</groupId>
     <artifactId>logging-parent</artifactId>