.gradle/init.d/mavenLocal.gradle
author Oleksandr Gavenko <gavenkoa@gmail.com>
Thu, 23 Feb 2023 00:59:27 +0200
changeset 1016 8ba787ff5ab8
parent 836 ed2feb95716d
permissions -rw-r--r--
Removed .npmrc, HOME in Cygwin & running npm outside of Cygwin results in duplicating cache (in Cygwin HOME & in APPDATA).

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()
    }
}