1
- ThisBuild / organization := " fr.janalyse"
2
- ThisBuild / name := " zwords"
3
- ThisBuild / description := " Guess a word everyday game"
4
- ThisBuild / homepage := Some (url(" https://github.com/dacr/sotohp" ))
5
- ThisBuild / licenses += " Apache 2" -> url(s " https://www.apache.org/licenses/LICENSE-2.0.txt " )
6
- ThisBuild / scmInfo := Some (
7
- ScmInfo (
8
- url(s " https://github.com/dacr/zwords.git " ),
9
- s " [email protected] :dacr/zwords.git"
10
- )
11
- )
1
+ ThisBuild / name := " zwords"
2
+ ThisBuild / organization := " fr.janalyse"
3
+ ThisBuild / description := " Guess a word everyday game"
4
+
5
+ ThisBuild / licenses += " Apache 2" -> url(s " https://www.apache.org/licenses/LICENSE-2.0.txt " )
12
6
13
7
ThisBuild / scalaVersion := " 3.5.1"
14
8
15
- publishArtifact := false
9
+ publishArtifact := false // no artifact for "root" project
16
10
17
11
val versions = new {
18
12
val zio = " 2.1.9"
@@ -28,7 +22,7 @@ val versions = new {
28
22
29
23
val sharedSettings = Seq (
30
24
releasePublishArtifactsAction := PgpKeys .publishSigned.value, // MUST BE SET HERE TO TRIGGER THIS REQUIREMENT
31
- Test / fork := true ,
25
+ Test / fork := true ,
32
26
testFrameworks += new TestFramework (" zio.test.sbt.ZTestFramework" ),
33
27
scalacOptions ++= Seq (" -deprecation" ), // "-Xfatal-warnings",
34
28
// excludeDependencies += "org.scala-lang.modules" % "scala-collection-compat_2.13",
@@ -43,8 +37,8 @@ lazy val dictionary =
43
37
project
44
38
.in(file(" dictionary" ))
45
39
.settings(
46
- name:= " zwords-dictionary" ,
47
- description := " Dictionary management" ,
40
+ name := " zwords-dictionary" ,
41
+ description := " Dictionary management" ,
48
42
sharedSettings,
49
43
libraryDependencies ++= Seq (
50
44
" dev.zio" %% " zio-config" % versions.zioconfig,
@@ -59,8 +53,8 @@ lazy val wordGenerator =
59
53
.in(file(" wordgen" ))
60
54
.dependsOn(dictionary)
61
55
.settings(
62
- name:= " zwords-word-generator" ,
63
- description := " generate word candidate from dictionary" ,
56
+ name := " zwords-word-generator" ,
57
+ description := " generate word candidate from dictionary" ,
64
58
sharedSettings,
65
59
libraryDependencies ++= Seq (
66
60
" dev.zio" %% " zio-json" % versions.ziojson
@@ -72,8 +66,8 @@ lazy val gameLogic =
72
66
.in(file(" gamelogic" ))
73
67
.dependsOn(wordGenerator)
74
68
.settings(
75
- name:= " zwords-game-logic" ,
76
- description := " the sutom/motus game logic" ,
69
+ name := " zwords-game-logic" ,
70
+ description := " the sutom/motus game logic" ,
77
71
sharedSettings
78
72
)
79
73
@@ -84,8 +78,8 @@ lazy val consoleUI =
84
78
.dependsOn(wordGenerator)
85
79
.dependsOn(dictionary)
86
80
.settings(
87
- name:= " zwords-console" ,
88
- description := " Play zwords from the console" ,
81
+ name := " zwords-console" ,
82
+ description := " Play zwords from the console" ,
89
83
sharedSettings
90
84
)
91
85
@@ -97,8 +91,8 @@ lazy val webapi =
97
91
.dependsOn(dictionary)
98
92
.enablePlugins(JavaServerAppPackaging )
99
93
.settings(
100
- name:= " zwords-webapi" ,
101
- description := " zwords sutom/motus game REST API" ,
94
+ name := " zwords-webapi" ,
95
+ description := " zwords sutom/motus game REST API" ,
102
96
Universal / javaOptions := Seq ( // -- Required for LMDB with recent JVM
103
97
" --add-opens" ,
104
98
" java.base/java.nio=ALL-UNNAMED" ,
@@ -123,3 +117,14 @@ lazy val webapi =
123
117
" ch.qos.logback" % " logback-classic" % versions.logback
124
118
)
125
119
)
120
+
121
+ ThisBuild / homepage := Some (url(" https://github.com/dacr/sotohp" ))
122
+ ThisBuild / scmInfo
:= Some (
ScmInfo (url(
s " https://github.com/dacr/zwords.git " ),
s " [email protected] :dacr/zwords.git" ))
123
+ ThisBuild / developers := List (
124
+ Developer (
125
+ id = " dacr" ,
126
+ name = " David Crosson" ,
127
+
128
+ url = url(" https://github.com/dacr" )
129
+ )
130
+ )
0 commit comments