mcassiano / ktlint-html-reporter Goto Github PK
View Code? Open in Web Editor NEWHTML reporter for ktlint.
License: MIT License
HTML reporter for ktlint.
License: MIT License
Hey, first of all, thanks for this project, it helped me a lot!
I'm having some issues with proguard when using this project:
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find superclass or interface com.github.shyiko.ktlint.core.Reporter
Warning: me.cassiano.ktlint.reporter.html.HtmlReporterProvider: can't find superclass or interface com.github.shyiko.ktlint.core.ReporterProvider
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.Reporter
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.Reporter$DefaultImpls
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.Reporter$DefaultImpls
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.Reporter$DefaultImpls
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.Reporter$DefaultImpls
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.Reporter
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.Reporter
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter: can't find referenced class com.github.shyiko.ktlint.core.Reporter
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter$afterAll$1$2$4: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter$afterAll$1$2$4: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter$afterAll$1$2$4$2: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter$afterAll$1$2$4$2: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter$afterAll$1$2$4$2: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter$afterAll$1$2$4$2: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter$afterAll$1$2$4$2: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporter$afterAll$1$2$4$2: can't find referenced class com.github.shyiko.ktlint.core.LintError
Warning: me.cassiano.ktlint.reporter.html.HtmlReporterProvider: can't find referenced class com.github.shyiko.ktlint.core.ReporterProvider
Warning: me.cassiano.ktlint.reporter.html.HtmlReporterProvider: can't find referenced class com.github.shyiko.ktlint.core.Reporter
Warning: me.cassiano.ktlint.reporter.html.HtmlReporterProvider: can't find referenced class com.github.shyiko.ktlint.core.Reporter
Warning: me.cassiano.ktlint.reporter.html.HtmlReporterProvider: can't find referenced class com.github.shyiko.ktlint.core.Reporter
To solve this, I added this line to proguard:
-dontwarn me.cassiano.ktlint.reporter.html.**
But is this the right thing to todo, or do you have any suggestions on this?
Thanks
Have you published or considered publishing your reporter? It might be useful with your permission, see jeremymailen/kotlinter-gradle#45
I need help setting up a continuous integration pipeline for this library and coming up with a feasible release workflow.
Time has been short on my end (it might get better next month).
Looking forward to incorporating your latest version into kotlinter-gradle
!
Hey, today the ktlint version 0.32.0 was released and it broke this plugin.
Maybe because this version changed the package name.
Would you be ok with the idea of trying to merge this plugin in ktlint itself to prevent future issues in the future?
And in the meanwhile, could you try to fix this issue?
I will also take a look to see if I can fix it and submit a PR.
Thanks
I had the same problem as #13 and saw how it was fixed with #14
However, the PR seemed to miss the provider file name change, thus the 0.2.1 release still doesn't work.
I have tried with the correct file name in a fork and published it to Jitpack and it works. You can verify with "--reporter=html,artifact=com.github.mtiidla:ktlint-html-reporter:-SNAPSHOT"
The change is just renaming https://github.com/mcassiano/ktlint-html-reporter/tree/0.2.1/src/main/resources/META-INF/services/com.github.shyiko.ktlint.core.ReporterProvider to com.pinterest.ktlint.core.ReporterProvider
Should I open a PR, or you will just change it?
Greetings Mcassiano!
thanks for taking the time for making this html reporter. Whenever, I use the ktlint command I get this message.
[WARNING] Resolving third party rules/reporters from artifactory is deprecated!
[WARNING] See: pinterest/ktlint#451
It seems they are going to get rid of this feature and just make developers use this reporter from a local jar. I wouldn't mind using it this way. Any advice would be welcomed.
Thank you.
Angel
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.