Search Gradle plugins

Version 1.0.1 (latest)

1.0.1

Created 23 December 2023.

Gradle plugin to load environment variables from .env files

Using the plugins DSL:

plugins {
  id("cl.franciscosolis.gradledotenv") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("cl.franciscosolis:plugin:1.0.1")
  }
}

apply(plugin = "cl.franciscosolis.gradledotenv")

Using the plugins DSL:

plugins {
  id "cl.franciscosolis.gradledotenv" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "cl.franciscosolis:plugin:1.0.1"
  }
}

apply plugin: "cl.franciscosolis.gradledotenv"

Learn how to apply plugins to subprojects