#1011544 uncommons-maths: FTBFS with OpenJDK 17 due to unsupported javac source/target level 6

#1011544#5
Date:
2022-05-24 19:39:56 UTC
From:
To:
uncommons-maths fails to build with OpenJDK 17 because it invokes javac with
the source/target options set to 6. Since OpenJDK 12 the minimum
version supported is 7.


  :compileJava
  Putting task artifact state for task ':compileJava' into context took 0.0 secs.
  file or directory '/<<PKGBUILDDIR>>/debian/src/main/java', not found
  file or directory '/<<PKGBUILDDIR>>/debian/src/main/java', not found
  Up-to-date check for task ':compileJava' took 0.018 secs. It is not up-to-date because:
    No history is available.
  All input files are considered out-of-date for incremental task ':compileJava'.
  file or directory '/<<PKGBUILDDIR>>/debian/src/main/java', not found
  Compiling with JDK Java compiler API.
  error: Source option 6 is no longer supported. Use 7 or later.
  error: Target option 6 is no longer supported. Use 7 or later.
  :compileJava FAILED
  :compileJava (Thread[Task worker for ':' Thread 2,5,main]) completed. Took 0.23 secs.

  FAILURE: Build failed with an exception.

#1011544#10
Date:
2022-05-31 13:57:12 UTC
From:
To:
Fixed by adjusting automatically the source/target level in gradle/4.4.1-14