Skip to content

jeremiahvanofferen/ModuleCheck

 
 

Repository files navigation

Maven Central Gradle Plugin Portal License

This is a work in progress, in a very early state, and there are bugs.


ModuleCheck identifies unused internal (sub-project) dependencies within a Gradle project.

It does this without performing a build, which makes the parsing extremely fast.

All inspection is done using Gradle build files, Java/Kotlin source, and res xml files for Kotlin.

Documentation is at https://rbusarow.github.io/ModuleCheck.

Config

// settings.gradle.kts

pluginManagement {
  repositories {
    gradlePluginPortal()
  }
}
// top-level build.gradle.kts

plugins {
  id("com.rickbusarow.module-check") version "0.10.0"
}

Tasks

all checks

./gradlew moduleCheck

kapt checks

./gradlew moduleCheckKapt

sorts

./gradlew moduleCheckSortPlugins moduleCheckSortDependencies

unused

./gardlew moduleCheckUnused

redundant

./gradlew moduleCheckRedundant

overshot

./gradlew moduleCheckOvershot

License

Copyright (C) 2021 Rick Busarow
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
     http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

Fast dependency graph validation for gradle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 97.2%
  • JavaScript 2.1%
  • CSS 0.7%