.gradle/init.d/mavenLocal.gradle
author Oleksandr Gavenko <gavenkoa@gmail.com>
Tue, 28 Sep 2021 12:45:16 +0300
changeset 996 17158fb949a8
parent 836 ed2feb95716d
permissions -rw-r--r--
Removed dangerous git alias.

allprojects {
    // project ->
    // buildscript {
    //     if( !project.hasProperty('skipMavenLocal') ) {
    //         repositories {
    //             println "Adding buildscript mavenLocal()"
    //             mavenLocal()
    //         }
    //         configurations.all {
    //             resolutionStrategy.cacheChangingModulesFor 0, 'hours'
    //         }
    //     }
    // }

    // if( !project.hasProperty('skipMavenLocal') ) {
    //     repositories {
    //         println "Adding mavenLocal()"
    //         mavenLocal()
    //     }
    // }

    repositories {
        // println "Adding mavenLocal()"
        mavenLocal()
    }
}