Search Gradle plugins

com.sinch.gradle.dotenv

A plugin allowing easy access to variables defined in .env at both settings- and project-level

https://github.com/sinch/gradle-settings-dotenv

Sources: https://github.com/sinch/gradle-settings-dotenv.git

Version 0.1.0 (latest)

0.1.0

Created 14 November 2024.

A plugin allowing easy access to variables defined in .env at both settings- and project-level

Using the plugins DSL:

plugins {
  id("com.sinch.gradle.dotenv") version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.sinch.gradle:dotenv:0.1.0")
  }
}

apply(plugin = "com.sinch.gradle.dotenv")

Using the plugins DSL:

plugins {
  id "com.sinch.gradle.dotenv" version "0.1.0"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.sinch.gradle:dotenv:0.1.0"
  }
}

apply plugin: "com.sinch.gradle.dotenv"

Learn how to apply plugins to subprojects