We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f3680 commit f8da1dcCopy full SHA for f8da1dc
src/main/java/scala_maven/ScalaMojoSupport.java
@@ -321,7 +321,16 @@ protected List<Dependency> getDependencies() {
321
return project.getCompileDependencies();
322
}
323
324
+ private VersionNumber detectedScalaVersion = null;
325
+
326
private VersionNumber findScalaVersion() throws Exception {
327
+ if (detectedScalaVersion == null) {
328
+ detectedScalaVersion = findScalaVersion0();
329
+ }
330
+ return detectedScalaVersion;
331
332
333
+ private VersionNumber findScalaVersion0() throws Exception {
334
String detectedScalaVersion = scalaVersion;
335
if (StringUtils.isEmpty(detectedScalaVersion)) {
336
detectedScalaVersion =
0 commit comments