gradle-dependencies-preloader-plugin

Preload and cache all dependencies in Gradle.

Usages

./gradlew :preloadDependencies

Caches are storing to ~/.gradle/caches. You can persist its directory on CI.

Installation

Build script snippet for plugins DSL for Gradle 2.1 and later:

plugins {
  id "jp.s64.gradle.dependencies-preloader" version "0.0.1"
}

Build script snippet for use in older Gradle versions or where dynamic configuration is required:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "jp.s64.gradle:dependencies-preloader-plugin:0.0.1"
  }
}

apply plugin: "jp.s64.gradle.dependencies-preloader"

License

Copyright 2018 Shuma Yoshioka

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.