Search Gradle plugins

io.github.yubyf.maven-offline

Owner: Alex Liu

Gradle plugin for fetching specific maven repositories to local.

https://github.com/Yubyf/maven-offline-gradle-plugin

Version 1.0.3 (latest)

Created 04 July 2022.

Gradle plugin for fetching specific maven repositories to local.

Using the plugins DSL:

plugins {
  id "io.github.yubyf.maven-offline" version "1.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "io.github.yubyf.mavenoffline:maven-offline-gradle-plugin:1.0.3"
  }
}

apply plugin: "io.github.yubyf.maven-offline"

Using the plugins DSL:

plugins {
  id("io.github.yubyf.maven-offline") version "1.0.3"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("io.github.yubyf.mavenoffline:maven-offline-gradle-plugin:1.0.3")
  }
}

apply(plugin = "io.github.yubyf.maven-offline")

Learn how to apply plugins to subprojects