File tree 2 files changed +11
-9
lines changed
2 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
1
// Project info
2
2
name := " ColorLib"
3
3
homepage := Some (url(" https://github.com/ScalaMath/ColorLib" ))
4
+ version := " 1.0"
5
+ description := " A Scala library for color math"
6
+ // Organization info
4
7
organization := " io.github.scalamath"
5
8
organizationName := " ScalaMath"
6
9
organizationHomepage := Some (url(" https://github.com/ScalaMath" ))
7
- version := " 1.0"
8
- description := " A Scala library for color math"
9
10
// Project scala version
10
11
scalaVersion := " 2.13.12"
11
12
13
+ // Do not append the scala version to the generated artifact
14
+ crossPaths := false
15
+
12
16
// VecMatLib dependency
13
17
libraryDependencies += " io.github.scalamath" % " vecmatlib" % " 3.0"
18
+
14
19
// Scala test dependency
15
20
libraryDependencies += " org.scalatest" %% " scalatest" % " 3.2.18" % Test
16
21
// Junit test dependency
@@ -42,11 +47,7 @@ licenses := List(
42
47
" Apache 2" -> new URL (" https://www.apache.org/licenses/LICENSE-2.0.txt" )
43
48
)
44
49
45
- // Maven publishing
50
+ // Publish to local repository
46
51
pomIncludeRepository := { _ => false }
47
- publishTo := {
48
- val nexus = " https://s01.oss.sonatype.org/"
49
- if (isSnapshot.value) Some (" snapshots" at nexus + " content/repositories/snapshots" )
50
- else Some (" releases" at nexus + " service/local/staging/deploy/maven2" )
51
- }
52
- publishMavenStyle := true
52
+ publishTo := Some (Resolver .file(" local-ivy" , file(Path .userHome + " /.ivy2" )))
53
+ publishMavenStyle := true
Original file line number Diff line number Diff line change
1
+ addSbtPlugin(" com.github.sbt" % " sbt-pgp" % " 2.2.1" )
You can’t perform that action at this time.
0 commit comments