Search Gradle plugins

nebula.optional-base

Create a provided configuration. Similar to providedCompile create by the war plugin.

https://github.com/nebula-plugins/gradle-extra-configurations-plugin

Version 5.0.0 (latest)

Created 11 December 2018.

Plugins to add provided and optional configurations

Using the plugins DSL:

plugins {
  id "nebula.optional-base" version "5.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.netflix.nebula:gradle-extra-configurations-plugin:5.0.0"
  }
}

apply plugin: "nebula.optional-base"

Using the plugins DSL:

plugins {
  id("nebula.optional-base") version "5.0.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.netflix.nebula:gradle-extra-configurations-plugin:5.0.0")
  }
}

apply(plugin = "nebula.optional-base")

Learn how to apply plugins to subprojects