|
| 1 | +/* |
| 2 | + * Copyright 2023 GrowingInTech.com. All Rights Reserved. |
| 3 | + * |
| 4 | + * Licensed under the Apache License, Version 2.0 (the "License"). You may not |
| 5 | + * use this file except in compliance with the License. A copy of the License |
| 6 | + * is located at |
| 7 | + * |
| 8 | + * http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | + * |
| 10 | + * or in the "license" file accompanying this file. This file is distributed on |
| 11 | + * an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either |
| 12 | + * express or implied. See the License for the specific language governing |
| 13 | + * permissions and limitations under the License. |
| 14 | + * |
| 15 | + */ |
| 16 | +ThisBuild / organization := "com.growingintech" |
| 17 | +ThisBuild / organizationName := "growingintech" |
| 18 | +ThisBuild / organizationHomepage := Some(url("https://growingintech.com")) |
| 19 | + |
| 20 | +ThisBuild / scmInfo := Some( |
| 21 | + ScmInfo( |
| 22 | + url("https://github.com/GrowingInTech/spark-input-sources"), |
| 23 | + "scm:[email protected]/spark-input-sources.git" |
| 24 | + ) |
| 25 | +) |
| 26 | + |
| 27 | +ThisBuild / developers := List( |
| 28 | + Developer( |
| 29 | + id = "dwsmith1983", |
| 30 | + name = "Dustin Smith", |
| 31 | + |
| 32 | + url = url("https://dustinsmith.info") |
| 33 | + ) |
| 34 | +) |
| 35 | + |
| 36 | +ThisBuild / description := "Input Sources is an abstraction for loading Spark data via configuration files." |
| 37 | +ThisBuild / licenses := List("The license" -> new URL("http://www.apache.org/licenses/LICENSE-2.0")) |
| 38 | +ThisBuild / homepage := Some(url("https://github.com/GrowingInTech/spark-input-sources")) |
| 39 | + |
| 40 | +// Remove all additional repository other than Maven Central from POM |
| 41 | +ThisBuild / pomIncludeRepository := { _ => false } |
| 42 | + |
| 43 | +ThisBuild / publishTo := { |
| 44 | + val nexus = "https://s01.oss.sonatype.org/" |
| 45 | + if (isSnapshot.value) Some("snapshots" at nexus + "content/repositories/snapshots") |
| 46 | + else Some("releases" at nexus + "service/local/staging/deploy/maven2") |
| 47 | +} |
| 48 | + |
| 49 | +ThisBuild / publishMavenStyle := true |
| 50 | + |
| 51 | +ThisBuild / versionScheme := Some("early-semver") |
0 commit comments