-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathbuild.sbt
84 lines (73 loc) · 2.71 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
import org.latestbit.sbt.gcs.GcsPublishFilePolicy
ThisBuild / organization := "org.latestbit"
ThisBuild / homepage := Some( url( "http://latestbit.com" ) )
ThisBuild / licenses += ( "Apache-2.0", url( "https://www.apache.org/licenses/LICENSE-2.0.html" ) )
ThisBuild / scalaVersion := "2.12.20"
ThisBuild / scalacOptions ++= Seq(
"-encoding",
"UTF-8",
"-Xlog-reflective-calls",
"-Xlint",
"-deprecation",
"-feature",
"-language:_",
"-unchecked"
)
lazy val sbtGcsPlaygroundToPublish = project
.in( file( "playground-publish" ) )
.settings(
name := "sbt-gcs-plugin-playground-publish",
version := "0.0.7",
crossScalaVersions := Nil,
gcsPublishFilePolicy := GcsPublishFilePolicy.InheritedFromBucket,
publishTo := Some( "Custom Releases" at "gs://private-artifacts" ),
logLevel := Level.Debug
)
lazy val sbtGcsPlaygroundToResolve = project
.in( file( "playground-resolve" ) )
.settings(
name := "sbt-gcs-plugin-playground-resolve",
crossScalaVersions := Nil,
resolvers += "Custom Releases" at "gs://private-artifacts",
libraryDependencies ++= Seq(
"org.latestbit" %% "sbt-gcs-plugin-playground-publish" % "0.0.7"
),
logLevel := Level.Debug
)
lazy val sbtGcsArtifactRepositoryPlaygroundToPublish = project
.in( file( "playground-publish-artifact-repository" ) )
.settings(
name := "sbt-gcs-plugin-playground-artifact-publish",
version := "0.0.20-SNAPSHOT",
crossScalaVersions := Nil,
gcsPublishFilePolicy := GcsPublishFilePolicy.InheritedFromBucket,
publishTo := Some(
"Custom Releases" at "artifactregistry://europe-north1-maven.pkg.dev/latestbit/latestbit-artifacts-snapshots"
),
logLevel := Level.Debug
)
lazy val sbtGcsArtifactRepositoryPlaygroundToResolve = project
.in( file( "playground-resolve-artifact-repository" ) )
.settings(
name := "sbt-gcs-plugin-playground-artifact-resolve",
crossScalaVersions := Nil,
resolvers += "Custom Releases" at "artifactregistry://europe-north1-maven.pkg.dev/latestbit/latestbit-artifacts-snapshots",
libraryDependencies ++= Seq(
"org.latestbit" %% "sbt-gcs-plugin-playground-artifact-publish" % "0.0.20-SNAPSHOT"
),
logLevel := Level.Debug
)
lazy val plugin = project
.in( file( "sbt-gcs-plugin" ) )
.enablePlugins( GitVersioning )
lazy val sbtGcsRoot = project
.in( file( "." ) )
.settings(
name := "sbt-gcs-plugin-root",
crossScalaVersions := Nil,
publish := {},
publishLocal := {},
publishArtifact := false,
logLevel := Level.Debug
)
.aggregate( sbtGcsPlaygroundToPublish )