Skip to content

Commit

Permalink
Merge pull request #34 from mdedetrich/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
mdedetrich authored Dec 7, 2023
2 parents 1514c63 + 9e69df1 commit 33bf45e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/scala/com/lightbend/sbt/MultiReleaseJarPlugin.scala
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ object MultiReleaseJarPlugin extends AutoPlugin {
override def projectConfigurations = Seq(MultiReleaseJar)

// ---------------------------------------
// This could be taken from`java.util.jar.Attributes.MULTI_RELEASE`, but we don't want to requirerunning on JDK11!
// This could be taken from`java.util.jar.Attributes.MULTI_RELEASE`, but we don't want to require running on JDK11!
val MULTI_RELEASE_KEY = "Multi-Release"
// ---------------------------------------

Expand All @@ -47,7 +47,7 @@ object MultiReleaseJarPlugin extends AutoPlugin {
else if (jdkVersion startsWith "1.8") false
else
throw new IllegalStateException(
s"Only JDK 8 or 11 is supported by this build, because of the mult-release-jar plugin. Detected version: $jdkVersion"
s"Only JDK 8 or 11 is supported by this build, because of the multi-release-jar plugin. Detected version: $jdkVersion"
)

override def globalSettings = {
Expand Down Expand Up @@ -120,7 +120,7 @@ object MultiReleaseJarPlugin extends AutoPlugin {
// here we want to generate the JDK11 files, so they target Java 11:
MultiReleaseJar / javacOptions ++=
Seq("-source", "11", "-target", "11"),
// in Compile we want to generage Java 8 compatible things though:
// in Compile we want to generate Java 8 compatible things though:
Compile / javacOptions ++=
Seq("-source", "1.8", "-target", "1.8"),
(Compile / packageBin) / packageOptions +=
Expand Down

0 comments on commit 33bf45e

Please sign in to comment.