marcinbak / android-sonar-kotlin Goto Github PK
View Code? Open in Web Editor NEWSample project for usage of sonar kotlin plugin
Sample project for usage of sonar kotlin plugin
Hi, I downloaded your repo since I'm working updating kotlin coverage with jacoco to sonarqube without success till now, and I reach this repo following detekt/sonar-detekt#46.
Executing the task sonarqube causes the following error:
> Task :sonarqube
JUnit report directory not found at C:\Development\android\android-sonar-kotlin\app\sonar-reports
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonarqube'.
> Provided path 'detekt-config.yml' does not exist!
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 47s
54 actionable tasks: 34 executed, 20 up-to-date
You can solve it by adding ../detekt-config.yml and doing so will cause the following error:
> Task :sonarqube
JUnit report directory not found at C:\Development\android\android-sonar-kotlin\app\sonar-reports
2 kotlin files were analyzed.
Coverage information was not collected. Perhaps you forget to include debug information into compiled classes?
FAILURE: Build failed with an exception.
* What went wrong:
Execution failed for task ':sonarqube'.
> File app/src/main/java/de/neofonie/androidsonarkotlin/BusinessLogic.kt can't be indexed twice. Please check that inclusion/exclusion patterns produce disjoint sets for main and test files
* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.
* Get more help at https://help.gradle.org
BUILD FAILED in 1m 30s
54 actionable tasks: 34 executed, 20 up-to-date
Can you help me setting up your project?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.