gradle-lint-plugin
ktfmt-gradle
Our great sponsors
gradle-lint-plugin | ktfmt-gradle | |
---|---|---|
3 | - | |
742 | 136 | |
1.9% | - | |
6.9 | 8.7 | |
23 days ago | 6 days ago | |
Groovy | Kotlin | |
Apache License 2.0 | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
gradle-lint-plugin
-
Learning in public: Lessons from open source
A little more than two years ago, in October 2019, I began work on my first significant open source project, the Dependency Analysis Gradle Plugin. I had just left a job where I had done relatively little coding, was taking a month off, and wanted to get back into a building mode and learn some new things. I decided to explore the domain of unused-dependency detection. The nearest competitor I was aware of was the Gradle Lint Plugin from the Netflix Nebula collection. However, as that plugin has never supported Android projects, that meant I had an exploitable nicheāif only I could exploit it.
-
Large-Scale Automated Source Code Refactoring with OpenRewrite
Semgrepās focus is on static analysis/search and is based on rules that developers need to write in a new DSL. Autofix is experimental and is one pattern replaced with another. https://semgrep.dev/docs/experiments/overview/
OpenRewrite originated to do transformations of code, specifically to remove a Netflix proprietary logging library and replace it with in SLF4J. The predecessor of OpenRewrite was Gradle Lint (https://github.com/nebula-plugins/gradle-lint-plugin), commonly used to update Gradle build configuration. OpenRewrite added search after transformation and search can be very flexible (search for all usages of a particular package/any method, not just a specific method invocation). Instead of being DSL based, OpenRewrite provides a set of building blocks called recipes that can be combined together to create more powerful recipes. When building blocks are not enough, you can write a custom recipe in the same language as what you are managing. Java for Java and TypeScript for JavaScript/TypeScript (coming soon).
For example, you can see JUnit 4 to 5 migration recipe contains a set of pre-built and custom recipes.
-
is there a way to find out unused dependencies in a spring boot project
Also found Gradle Nebula Lint https://github.com/nebula-plugins/gradle-lint-plugin/wiki
ktfmt-gradle
We haven't tracked posts mentioning ktfmt-gradle yet.
Tracking mentions began in Dec 2020.
What are some alternatives?
rewrite - Automated mass refactoring of source code.
ktlint - An anti-bikeshedding Kotlin linter with built-in formatter
gradle-dependency-analyze - Dependency analysis plugin for gradle
detekt - Static code analysis for Kotlin
Gradle - Adaptable, fast automation for all
sonarlint-intellij - SonarLint for IntelliJ
groovy-android-gradle-plugin - A Gradle plugin to support the Groovy language for building Android apps
ARFaceDetection - AR-based library for Android which is capable of detecting faces and overlaying images above the userās head
spring-cloud-dataflow - A microservices-based Streaming and Batch data processing in Cloud Foundry and Kubernetes
jtransc - Bytecode to source converting Java & Kotlin code into JavaScript, C++, D, C#, PHP, AS3, Dart and Haxe and run it everywhere. Also use JVM code in your favourite language as a library.
dependency-analysis-gradle-plugin - Gradle plugin for JVM projects written in Java, Kotlin, Groovy, or Scala; and Android projects written in Java or Kotlin. Provides advice for managing dependencies and other applied plugins
Credit Card Scanner - Android Credit Card Scanner using CameraX and ML Kit