1
1
import sbt .Keys .libraryDependencies
2
2
ThisBuild / scalaVersion := Dependencies .scala
3
- ThisBuild / version := " dev -SNAPSHOT"
3
+ ThisBuild / version := " 0.0.1 -SNAPSHOT"
4
4
ThisBuild / organization := " ch.linkyard.scim"
5
5
ThisBuild / organizationName := " linkyard ag"
6
6
7
+ ThisBuild / githubOwner := " linkyard"
8
+ ThisBuild / githubRepository := " scim-scala"
9
+ githubTokenSource := TokenSource .Environment (" GITHUB_TOKEN" ) || TokenSource .GitConfig (" github.token" )
10
+
7
11
lazy val root = (project in file(" ." ))
8
12
.settings(
9
13
name := " scim-scala" ,
@@ -20,6 +24,8 @@ lazy val root = (project in file("."))
20
24
addCompilerPlugin(" org.typelevel" %% " kind-projector" % " 0.11.0" cross CrossVersion .full),
21
25
addCompilerPlugin(" com.olegpy" %% " better-monadic-for" % " 0.3.1" ),
22
26
cancelable in Global := true ,
27
+ githubTokenSource := TokenSource .GitConfig (" github.token" ),
28
+ publish := {},
23
29
libraryDependencies ++= Seq (
24
30
" io.kamon" %% " kamon-core" % Dependencies .kamon,
25
31
" com.typesafe.scala-logging" %% " scala-logging" % Dependencies .scalaLogging,
@@ -38,7 +44,8 @@ lazy val root = (project in file("."))
38
44
39
45
lazy val core = (project in file(" core" ))
40
46
.settings(
41
- name := " scim" ,
47
+ name := " scim-scala-core" ,
48
+ githubTokenSource := TokenSource .GitConfig (" github.token" ),
42
49
libraryDependencies ++= Seq (
43
50
" org.typelevel" %% " cats-core" % Dependencies .cats,
44
51
" io.circe" %% " circe-generic" % Dependencies .circe,
0 commit comments