Search Gradle plugins

Version 1.1 (latest)

Created 16 February 2017.

Gradle plugin for reading properties from local.properties file of project and its parents.

Using the plugins DSL:

plugins {
  id("com.github.b3er.local.properties") version "1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.b3er.local.properties:local-properties-plugin:1.1")
  }
}

apply(plugin = "com.github.b3er.local.properties")

Using the plugins DSL:

plugins {
  id "com.github.b3er.local.properties" version "1.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.b3er.local.properties:local-properties-plugin:1.1"
  }
}

apply plugin: "com.github.b3er.local.properties"

Learn how to apply plugins to subprojects