Search Gradle plugins

pl.oakfusion.downloadfilewithhttpget

Plugin for OakForge project, using downloadURL and downloadDeployTokenfrom properties of project where it is applied to send get request with headerDEPLOY-TOKEN: ${downloadDeployToken} and save response in file named same aswhat is included in downloadURL after last /

https://github.com/MaksymilianJava

Version 0.2-SNAPSHOT

Created 12 February 2021.

Plugin for OakForge project, using downloadURL and downloadDeployToken from properties of project where it is applied to send get request with header DEPLOY-TOKEN: ${downloadDeployToken} and save response in file named same as what is included in downloadURL after last /

Using the plugins DSL:

plugins {
  id "pl.oakfusion.downloadfilewithhttpget" version "0.2-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "pl.oakfusion:DownloadFileHttpGetPlugin:0.2-SNAPSHOT"
  }
}

apply plugin: "pl.oakfusion.downloadfilewithhttpget"

Using the plugins DSL:

plugins {
  id("pl.oakfusion.downloadfilewithhttpget") version "0.2-SNAPSHOT"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("pl.oakfusion:DownloadFileHttpGetPlugin:0.2-SNAPSHOT")
  }
}

apply(plugin = "pl.oakfusion.downloadfilewithhttpget")

Learn how to apply plugins to subprojects