Search Gradle plugins

Version 1.0.5 (latest)

1.0.5

Created 06 August 2021.

A plugin to create constants class from gradle.

Using the plugins DSL:

plugins {
  id("com.anatawa12.compile-time-constant") version "1.0.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url = uri("https://plugins.gradle.org/m2/")
    }
  }
  dependencies {
    classpath("com.anatawa12:compile-time-constant:1.0.5")
  }
}

apply(plugin = "com.anatawa12.compile-time-constant")

Using the plugins DSL:

plugins {
  id "com.anatawa12.compile-time-constant" version "1.0.5"
}

Using legacy plugin application:

buildscript {
  repositories {
    maven {
      url "https://plugins.gradle.org/m2/"
    }
  }
  dependencies {
    classpath "com.anatawa12:compile-time-constant:1.0.5"
  }
}

apply plugin: "com.anatawa12.compile-time-constant"

Learn how to apply plugins to subprojects