Merge pull request #158 from sbt/wip/ubuntu

Remove Java requirements for Debian/Ubuntu package
This commit is contained in:
eugene yokota 2017-04-26 19:35:24 -04:00 committed by GitHub
commit ab46a5a3f4
1 changed files with 3 additions and 1 deletions

View File

@ -78,7 +78,9 @@ val root = (project in file(".")).
},
// DEBIAN SPECIFIC
version in Debian := sbtVersionToRelease,
debianPackageDependencies in Debian ++= Seq("openjdk-8-jdk", "bash (>= 3.2)"),
// Used to have "openjdk-8-jdk" but that doesn't work on Ubuntu 14.04 https://github.com/sbt/sbt/issues/3105
// before that we had java6-runtime-headless" and that was pulling in JDK9 on Ubuntu 16.04 https://github.com/sbt/sbt/issues/2931
debianPackageDependencies in Debian ++= Seq("bash (>= 3.2)"),
debianPackageRecommends in Debian += "git",
linuxPackageMappings in Debian += {
val bd = sourceDirectory.value