Search Gradle plugins

nebula.compile-api

Adds a compileApi configuration, dependencies in this configuration will be put in compile conf/scope of ivy/maven

https://github.com/nebula-plugins/nebula-publishing-plugin

Sources: https://github.com/nebula-plugins/nebula-publishing-plugin.git

Using the plugins DSL:

plugins {
  id("nebula.compile-api") version "7.0.1"
}

Using legacy plugin application:

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

apply(plugin = "nebula.compile-api")

Using the plugins DSL:

plugins {
  id "nebula.compile-api" version "7.0.1"
}

Using legacy plugin application:

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

apply plugin: "nebula.compile-api"

Learn how to apply plugins to subprojects