Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit e8ad9bb

Browse files
committed
Remove scala dependency and suffix from api
The api is written in java. It doesn't use scala, so we can remove it from the dependencies. We can also drop the scala version suffix, because it is theoretically compatible with any scala version.
1 parent 1eabc9d commit e8ad9bb

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

build.sbt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,11 @@ val majorVersion = 3
77
val minorVersion = 0
88
version := s"$majorVersion.$minorVersion"
99

10+
// The API doesn't use scala. We can safely drop the scala version suffix from the jar and
11+
// drop the dependency on the scala library.
12+
autoScalaLibrary := false
13+
crossPaths := false
14+
1015
import org.codeoverflow.chatoverflow.build.BuildUtils
1116
javacOptions ++= BuildUtils.getJava8CrossOptions
1217

0 commit comments

Comments
 (0)