Gradle URL Cache

Gradle plugin that facilitates the caching of urls.

Лицензия

Лицензия

Категории

Категории

Gradle Компиляция и сборка Сеть
Группа

Группа

net.vrallev.gradle
Идентификатор

Идентификатор

url-cache-plugin
Последняя версия

Последняя версия

1.0.1
Дата

Дата

Тип

Тип

jar
Описание

Описание

Gradle URL Cache
Gradle plugin that facilitates the caching of urls.
Ссылка на сайт

Ссылка на сайт

https://github.com/vRallev/gradle-url-cache-plugin
Система контроля версий

Система контроля версий

https://github.com/vRallev/gradle-url-cache-plugin

Скачать url-cache-plugin

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/net.vrallev.gradle/url-cache-plugin/ -->
<dependency>
    <groupId>net.vrallev.gradle</groupId>
    <artifactId>url-cache-plugin</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/net.vrallev.gradle/url-cache-plugin/
implementation 'net.vrallev.gradle:url-cache-plugin:1.0.1'
// https://jarcasting.com/artifacts/net.vrallev.gradle/url-cache-plugin/
implementation ("net.vrallev.gradle:url-cache-plugin:1.0.1")
'net.vrallev.gradle:url-cache-plugin:jar:1.0.1'
<dependency org="net.vrallev.gradle" name="url-cache-plugin" rev="1.0.1">
  <artifact name="url-cache-plugin" type="jar" />
</dependency>
@Grapes(
@Grab(group='net.vrallev.gradle', module='url-cache-plugin', version='1.0.1')
)
libraryDependencies += "net.vrallev.gradle" % "url-cache-plugin" % "1.0.1"
[net.vrallev.gradle/url-cache-plugin "1.0.1"]

Зависимости

Библиотека не имеет зависимостей. Это самодостаточное приложение, которое не зависит ни от каких других библиотек.

Модули Проекта

Данный проект не имеет модулей.

gradle-url-cache-plugin

Build Status

Gradle plugin that facilitates the caching of urls.

Usage

The plugin is available on Jcenter

To use the plugin with Gradle 2.1 or later, add the following to your build.gradle:

plugins {
  id 'com.kageiit.url-cache' version '1.0.0'
}

To use the plugin with Gradle 2.0 or older, add the following to build.gradle:

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath "com.kageiit:url-cache-plugin:1.0.0"
    }
}
apply plugin: 'com.kageiit.url-cache'

This plugin was created mainly to address the problem of not being able to cache shared build configuration files using apply from: . You can now simply do:

apply plugin: 'com.kageiit.url-cache'
apply from: urlCache.get('http://example.com/shared-build-config.gradle')

It tries to fetch/refetch urls on every run. If the url could not be fetched or the --offline switch is used to start the build, the cached version is used instead. The cache is stored in the standard gradle user home caches directory.

License

Copyright 2014 Gautam Korlam

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.

Версии библиотеки

Версия
1.0.1