JDK Version for Main Project #1761
-
Hi, there's one thing I've been working around for some time now but I'd like to clarify... The build.gradle file for the main project specifies java version 1.8, and 11 for tests. But there are some parts of the code that has features from Java 9, such as @deprecated(since=...) and now clazz.getPackageName(). What version should I use? I've been craving for some Java 9 goodies such as List.of and Map.of 😄 Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
We can use We can use the enhanced |
Beta Was this translation helpful? Give feedback.
#1764