version: "2"         # required to adjust maintainability checks

checks:
  argument-count:
    enabled: false
  file-lines:
    enabled: false
  method-count:
    enabled: false
  method-lines:
    enabled: false
  similar-code:
    config:
      threshold: 150
  identical-code:
    config:
      threshold: 100
  method-complexity:
    config:
      threshold: 15

plugins:
  # Java
  sonar-java:
    enabled: true
    config:
      tests_patterns:
        - src/test/**
      minimum_severity: major
  duplication:
    enabled: true
    config:
      languages:
      - java:

  # Other
  git-legal:
    enabled: true
  fixme:
    enabled: true
    config:
      strings:
      - FIXME
      - BUG

Add Code Climate config for Java
[TEST] Add Code Climate config for Java

LRN-22773
