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

Sources: 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 /

Add this plugin to your build using the plugins DSL:

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

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("pl.oakfusion.downloadfilewithhttpget:pl.oakfusion.downloadfilewithhttpget.gradle.plugin:0.2-SNAPSHOT")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("pl.oakfusion.downloadfilewithhttpget")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("pl.oakfusion.downloadfilewithhttpget:pl.oakfusion.downloadfilewithhttpget.gradle.plugin:0.2-SNAPSHOT")
      }
    }
    
    apply(plugin = "pl.oakfusion.downloadfilewithhttpget")
  • Applying plugins to all subprojects .