We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In version 1.1.5 it was possible to add multi-language support by:
val cpdJava = TaskKey[Unit]("cpdJava", "CPD for java") lazy val prj = (project in file(".")) .settings( // .... // CPD for Scala sources CopyPasteDetector.cpdSettings, cpdMinimumTokens := 75, cpdTargetPath := target.value, cpdReportName := "cpd-scala-report.xml", cpdLanguage := Language.Scala, // CPD for Java sources cpdJava <<= (cpdReportSettings, cpdSourceSettings, cpdMaxMemoryInMB, cpdClasspath, streams) map { (report, settings, mem, path, streams) => cpdAction( report.copy(name = "cpd-java-report.xml"), // TODO: remove or adjust minTokens. settings.copy(language = Language.Java, minTokens = 45), mem, path, streams ) }, // Run CPD for Java before CPD for Scala cpd <<= cpd dependsOn cpdJava, // .... }
How it can be done in 1.2.0 ?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In version 1.1.5 it was possible to add multi-language support by:
How it can be done in 1.2.0 ?
The text was updated successfully, but these errors were encountered: