File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
android-plugin/src/main/java/org/sonar/plugins/groovy Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 3434
3535public class CodeNarcRulesDefinition implements RulesDefinition {
3636
37- // TODO: Prefix repository-key with "ecocode-" and make "re-keying" of all contained rules
38- public static final String REPOSITORY_KEY = Groovy .KEY ;
39- public static final String REPOSITORY_NAME = "ecoCode" ;
37+ public static final String REPOSITORY_KEY = "ecocode-android-groovy" ;
38+ public static final String REPOSITORY_NAME = Groovy .PROFILE_NAME ;
4039 private static final String COST_FILE_PATH = "/org/sonar/plugins/groovy/cost.csv" ;
4140
4241 @ Override
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ public class Groovy extends AbstractLanguage {
3131
3232 public static final String KEY = "grvy" ;
3333 public static final String NAME = "Groovy" ;
34- public static final String PROFILE_NAME = "ecoCode" ;
34+ public static final String PROFILE_NAME = "ecoCode (Android) " ;
3535 public static final String FILE_SUFFIXES_KEY = "sonar.groovy.file.suffixes" ;
3636 static final String DEFAULT_FILE_SUFFIXES = ".groovy,.gradle" ;
3737
You can’t perform that action at this time.
0 commit comments