Sonar 在同一个项目中是否支持多种语言? [英] Does Sonar support multiple language in same project?

查看:44
本文介绍了Sonar 在同一个项目中是否支持多种语言?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为我的一个混合了 GroovyJava 的项目设置 Sonar.我可以为这两种语言中的任何一种单独配置项目,但不能一起配置.有没有办法做到这一点?我试过这个

I am setting up Sonar for one of my projects which is a mix of Groovy and Java. I am able to configure the project separately for either of these languages but not together. Is there any way to do this? I tried this

sonar.language = java,grvy

sonar.language = java,grvy

但是没有用

推荐答案

2014 年 4 月 14 日更新:

从 SonarQube 4.2 开始,支持多语言项目.

Starting with SonarQube 4.2, multi-language projects are supported.

sonar.language 未设置时,这会自动发生.

This automatically happens when sonar.language is not set.

在这里查看我的示例项目:https://github.com/bellingard/multi-language-项目

See my sample project here: https://github.com/bellingard/multi-language-project

这篇关于Sonar 在同一个项目中是否支持多种语言?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆