Search Gradle plugins

Version 1.0.1

1.0.1

Created 27 February 2018.

Generate constants with kotlin's object

Using the plugins DSL:

plugins {
  id("com.github.kukuhyoniatmoko.buildconfigkotlin") version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("gradle.plugin.com.github.kukuhyoniatmoko:gradle-build-config:1.0.1")
  }
}

apply(plugin = "com.github.kukuhyoniatmoko.buildconfigkotlin")

Using the plugins DSL:

plugins {
  id "com.github.kukuhyoniatmoko.buildconfigkotlin" version "1.0.1"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.kukuhyoniatmoko:gradle-build-config:1.0.1"
  }
}

apply plugin: "com.github.kukuhyoniatmoko.buildconfigkotlin"

Learn how to apply plugins to subprojects