Skip to content

an android gradle plugin to check snapshot libraries

Notifications You must be signed in to change notification settings

CalmYu/SnapshotCheck

Repository files navigation

SnapshotCheck

an android gradle plugin to check snapshot libraries

Add dependency

buildscript {
    ...
    repositories {
        ...
        maven { url "https://jitpack.io" }
    }
    dependencies {
        ...
        classpath 'com.github.CalmYu:snapshotcheck:1.0.2'
    }
}

Apply plugin

apply plugin: 'dependency.snapshotcheck'
SnapshotCheck {
    checkBuildTypes = ['release', 'prod'] // check snapshot libraries in specified build type
    dump = true // dump maven dependencies to build/dependency.txt
    abortBuild = true // abort if has snapshot libraries
}

About

an android gradle plugin to check snapshot libraries

Resources

Stars

Watchers

Forks

Packages

No packages published