Search Gradle plugins

Version 0.0.1

Created 06 August 2019.

This plugin loads the dotenv file so that it can be referenced from build.gradle.

Using the plugins DSL:

plugins {
  id("com.github.otkmnb2783.dotenv") version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.github.otkmnb2783:dotenv-plugins:0.0.1")
  }
}

apply(plugin = "com.github.otkmnb2783.dotenv")

Using the plugins DSL:

plugins {
  id "com.github.otkmnb2783.dotenv" version "0.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.github.otkmnb2783:dotenv-plugins:0.0.1"
  }
}

apply plugin: "com.github.otkmnb2783.dotenv"

Learn how to apply plugins to subprojects