Search Gradle plugins

Version 1.0.5 (latest)

1.0.5

Created 27 October 2018.

Generate constants with kotlin's object

Using the plugins DSL:

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

Using legacy plugin application:

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

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

Using the plugins DSL:

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

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "gradle.plugin.com.github.kukuhyoniatmoko:buildconfigkotlin:1.0.5"
  }
}

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

Learn how to apply plugins to subprojects