Skip to content

yechaoa/GradleX

Repository files navigation

GradleX

pic

编译环境(Environments)

Android Studio Gradle Android Gradle Plugin JDK Kotlin
Android Studio Meerkat 8.11.1 8.9.0 17 2.1.0

系列博客(Blog)

插件功能(Feature)

  • 打印依赖树
  • SNAPSHOT版本检查
  • 打印so文件和依赖的关系
  • 动态删除清单文件中的某个权限

插件使用(Usage)

step 1. Add the JitPack repository to your build file

repositories {
    // ...
    maven { url 'https://jitpack.io' }
}

step 2. Add the dependency

dependencies {
    classpath('com.github.yechaoa.GradleX:plugin:1.8')
}

step 3. Add the Plugin Id to your build file and configure the gradleX{ } dsl

plugins {
    id 'com.yechaoa.plugin.gradleX'
}

gradleX {
    printDependencies = false
    analysisSo = true
    checkSnapshot = true
    blockSnapshot = false
    permissionsToRemove = ['android.permission.XXX', 'android.permission.XXX']
}