Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
java: [11, 17]
java: [8, 11, 17]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
Expand Down
5 changes: 5 additions & 0 deletions .scala-steward.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
updates.ignore = [
// These updates are ignored to ensure JDK 1.8 support
{ groupId = "org.eclipse.jgit", artifactId = "org.eclipse.jgit" },
{ groupId = "ch.qos.logback", artifactId = "logback-classic"}
]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

A tool for generating bytecode diffs

Requires JDK 11+
Requires JDK 8+

## About

Expand Down
4 changes: 2 additions & 2 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ lazy val core = (
"org.ow2.asm" % "asm" % AsmVersion,
"org.ow2.asm" % "asm-util" % AsmVersion,
"org.scala-lang" % "scalap" % System.getProperty("scalap.version", scalaVersion.value),
"org.eclipse.jgit" % "org.eclipse.jgit" % "6.7.0.202309050840-r",
"org.eclipse.jgit" % "org.eclipse.jgit" % "5.13.2.202306221912-r",
"org.slf4j" % "slf4j-api" % "2.0.9",
"org.slf4j" % "log4j-over-slf4j" % "2.0.9", // for any java classes looking for this
"ch.qos.logback" % "logback-classic" % "1.4.11",
"ch.qos.logback" % "logback-classic" % "1.3.11",
"org.scalatest" %% "scalatest" % "3.2.17" % Test,
),
name := buildName + "-core",
Expand Down
16 changes: 16 additions & 0 deletions core/src/test/scala/JDK8SmokeTest.scala
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import org.eclipse.jgit.api.Git
import org.scalatest.flatspec.AnyFlatSpec
import org.scalatest.matchers.should.Matchers
import org.slf4j.LoggerFactory

final class JDK8SmokeTest extends AnyFlatSpec with Matchers {
behavior of "Testing dependencies are compiled with JDK 1.8"

it should "make sure slf4j/logback works" in {
LoggerFactory.getLogger(getClass.getName)
}

it should "make sure JGit works" in {
Git.init
}
}