Hello,
Is there anyway of using SonarCloud with ReactNative Android or iOS in DevOps?
iOS, XCode build is not recognized as MSbuild task.
I’ve tried them on Android and I get:
Task :app:compileDebugAndroidTestRenderscript NO-SOURCE
Task :app:generateDebugAndroidTestBuildConfig
Task :app:generateDebugAndroidTestSources
Task :app:javaPreCompileDebugAndroidTest
Task :app:mainApkListPersistenceDebugAndroidTest
Task :app:generateDebugAndroidTestResValues
Task :app:generateDebugAndroidTestResources
Task :app:mergeDebugAndroidTestResources
Task :app:processDebugAndroidTestResources
Task :app:compileDebugAndroidTestJavaWithJavac
Task :app:generateDebugUnitTestSources
Task :app:preDebugUnitTestBuild
Task :app:javaPreCompileDebugUnitTest
Task :app:compileDebugUnitTestJavaWithJavac NO-SOURCE
Task :app:sonarqube
WARNING: API ‘variant.getJavaCompile()’ is obsolete and has been replaced with ‘variant.getJavaCompileProvider()’.
It will be removed at the end of 2019.
For more information, see Task Configuration Avoidance.
To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display more information.
Task :app:sonarqube FAILED
FAILURE: Build failed with an exception.
- What went wrong:
Execution failed for task ‘:app:sonarqube’.
Project was never analyzed. A regular analysis is required before a branch analysis.
- Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.