File tree Expand file tree Collapse file tree 4 files changed +32
-46
lines changed Expand file tree Collapse file tree 4 files changed +32
-46
lines changed Original file line number Diff line number Diff line change @@ -14,3 +14,25 @@ lazy val client = (project in file("openai-client"))
14
14
lazy val guice = (project in file(" openai-guice" ))
15
15
.dependsOn(client)
16
16
.aggregate(client)
17
+
18
+
19
+ // POM settings for Sonatype
20
+ ThisBuild / homepage := Some (url(" https://github.com/cequence-io/openai-scala-client" ))
21
+
22
+ ThisBuild / sonatypeProfileName := " io.cequence"
23
+
24
+ ThisBuild / scmInfo
:= Some (
ScmInfo (url(
" https://github.com/cequence-io/openai-scala-client" ),
" scm:[email protected] :cequence-io/openai-scala-client.git" ))
25
+
26
+ ThisBuild / developers := List (
27
+ Developer (
" bnd" ,
" Peter Banda" ,
" [email protected] " , url(
" https://peterbanda.net" ))
28
+ )
29
+
30
+ ThisBuild / licenses += " MIT" -> url(" https://opensource.org/licenses/MIT" )
31
+
32
+ ThisBuild / publishMavenStyle := true
33
+
34
+ ThisBuild / sonatypeCredentialHost := " s01.oss.sonatype.org"
35
+
36
+ ThisBuild / sonatypeRepository := " https://s01.oss.sonatype.org/service/local"
37
+
38
+ ThisBuild / publishTo := sonatypePublishToBundle.value
Original file line number Diff line number Diff line change @@ -9,26 +9,7 @@ libraryDependencies ++= Seq(
9
9
" com.typesafe.play" %% " play-ws-standalone-json" % playWsVersion
10
10
)
11
11
12
- // POM settings for Sonatype
13
- homepage := Some (url(" https://github.com/cequence-io/openai-scala-client" ))
14
-
15
- publishMavenStyle := true
16
-
17
- scmInfo
:= Some (
ScmInfo (url(
" https://github.com/cequence-io/openai-scala-3-client" ),
" scm:[email protected] :cequence-io/openai-scala-3-client.git" ))
18
-
19
- developers := List (
20
- Developer (
" bnd" ,
" Peter Banda" ,
" [email protected] " , url(
" https://peterbanda.net" ))
21
- )
22
-
23
- licenses += " Apache 2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0" )
24
-
25
- publishMavenStyle := true
26
-
27
- // publishTo := sonatypePublishTo.value
28
-
29
- publishTo := Some (
30
- if (isSnapshot.value)
31
- Opts .resolver.sonatypeSnapshots
32
- else
33
- Opts .resolver.sonatypeStaging
34
- )
12
+ // we need this for Scala 2.13
13
+ // dependencyOverrides ++= Seq(
14
+ // "org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2"
15
+ // )
Original file line number Diff line number Diff line change 1
1
import sbt .Keys .test
2
2
3
3
name := " openai-scala-core"
4
+
5
+ description := " Core module of OpenAI Scala client"
Original file line number Diff line number Diff line change @@ -6,26 +6,7 @@ libraryDependencies ++= Seq(
6
6
" net.codingwell" %% " scala-guice" % " 5.1.0"
7
7
)
8
8
9
- // POM settings for Sonatype
10
- homepage := Some (url(" https://github.com/cequence/openai-scala-client" ))
11
-
12
- publishMavenStyle := true
13
-
14
- scmInfo
:= Some (
ScmInfo (url(
" https://github.com/cequence/openai-scala-3-client" ),
" scm:[email protected] :cequence/openai-scala-3-client.git" ))
15
-
16
- developers := List (
17
- Developer (
" bnd" ,
" Peter Banda" ,
" [email protected] " , url(
" https://peterbanda.net" ))
18
- )
19
-
20
- licenses += " Apache 2.0" -> url(" http://www.apache.org/licenses/LICENSE-2.0" )
21
-
22
- publishMavenStyle := true
23
-
24
- // publishTo := sonatypePublishTo.value
25
-
26
- publishTo := Some (
27
- if (isSnapshot.value)
28
- Opts .resolver.sonatypeSnapshots
29
- else
30
- Opts .resolver.sonatypeStaging
31
- )
9
+ // we need this for Scala 2.13
10
+ // dependencyOverrides ++= Seq(
11
+ // "org.scala-lang.modules" %% "scala-java8-compat" % "1.0.2"
12
+ // )
You can’t perform that action at this time.
0 commit comments