insideapp-oss / sonar-flutter

SonarQube plugin for Flutter / Dart
Other
449 stars 83 forks source link

Is there a way to cover swift files? #147

Closed faisalmohd83 closed 2 years ago

faisalmohd83 commented 2 years ago

Hi,

We got swift code in our multi-module project and could not scan those files. Is there a way to cover it? Our project folder has packages/ with multiple sub-modules with native code. Dart/kotlin files are scanned but not the swift ones.

sonar-project.properties is as below:

sonar.sources=android/app/src, ios, lib, packages
sonar.exclusions=**/*.pb.swift, android/app/src/**/res/**
sonar.language=dart, swift, kt

-- Currently trying with the following environment, will be integrating with CI once successful. environment: Mac machine docker: davealdon/sonarqube-with-docker-and-m1-macs:latest sonarqube: Community edition, sonarqube-9.7.1.62043

faisalmohd83 commented 2 years ago

Hi All, closing the issue was not related to this plugin. swift covered in dev-edition onwards in sonarqube (community edition not covered)