gradle-lint-plugin
dependency-analysis-gradle-plugin
gradle-lint-plugin | dependency-analysis-gradle-plugin | |
---|---|---|
3 | 9 | |
743 | 1,606 | |
2.0% | - | |
6.9 | 9.6 | |
13 days ago | 9 days ago | |
Groovy | Kotlin | |
Apache License 2.0 | Apache License 2.0 |
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
dependency-analysis-gradle-plugin
- Recommended dependency analyzer plugin
-
References for Library & SDK Design?
And perhaps https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin
-
android devs in multi-modular projects be like
I'd love to hear more about the complexity of configuring multi-module builds. Dependency management is an obvious point here and there are plugin that can help here (like https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin for instance), but I'd be happy to hear more pain points.
-
Gradle all the way down: Testing your Gradle plugin with Gradle TestKit
Added a new test suite, named "functionalTest", and configured it to use the Spock test framework, along with three dependencies: Truth, TestKit-Truth, and the project itself. This reveals the interesting point that, by default, new test suites don't have the project under test on the classpath, which enables true black box testing if you're into that kind of thing.
-
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.
-
Herding Elephants – Wrangling a 3,500-module Gradle project
Tony actually wrote a plugin that does just this! Check it out!
-
Reducing my Gradle plugin's impact on configuration time: A journey
(The commit is available here.)
What are some alternatives?
rewrite - Automated mass refactoring of source code.
android-buddy - Transform Android project classes with Byte Buddy at compile time
gradle-dependency-analyze - Dependency analysis plugin for gradle
moko-resources - Resources access for mobile (android & ios) Kotlin Multiplatform development
Gradle - Adaptable, fast automation for all
secrets-gradle-plugin - A Gradle plugin for providing your secrets to your Android project.
groovy-android-gradle-plugin - A Gradle plugin to support the Groovy language for building Android apps
scalroid - A scala-kotlin-java joint compilation plugin built on Gradle, for native Android.
spring-cloud-dataflow - A microservices-based Streaming and Batch data processing in Cloud Foundry and Kubernetes
android-stem - This is a Gradle plugin for Android applications that concatenates XML strings during compilation
algs4 - Algorithms in C# ported from the book "Algorithms 4th Edition".
gradle-maven-publish-plugin - A Gradle plugin that publishes your Android and Kotlin libraries, including sources and javadoc, to Maven Central or any other Nexus instance.