Search Gradle plugins

Version 1.0.0-rc-3 (latest)

Created 17 December 2024.

Plugin that processes compiled `*.class` files and inserts compile-time constants

Add this plugin to your build using the plugins DSL:

plugins {
  id("name.remal.build-time-constants") version "1.0.0-rc-3"
}

See also:

  • Adding the plugin to build logic for usage in precompiled script plugins.

    See the relevant documentation for more information.

    Add this plugin as a dependency to <convention-plugins-build>/build.gradle(.kts):

    dependencies {
      implementation("name.remal.build-time-constants:name.remal.build-time-constants.gradle.plugin:1.0.0-rc-3")
    }
    It can then be applied in the precompiled script plugin:
    plugins {
      id("name.remal.build-time-constants")
    }
  • The legacy method of plugin application. See the relevant documentation for more information.
    buildscript {
      repositories {
        gradlePluginPortal()
      }
      dependencies {
        classpath("name.remal.build-time-constants:name.remal.build-time-constants.gradle.plugin:1.0.0-rc-3")
      }
    }
    
    apply(plugin = "name.remal.build-time-constants")
  • Applying plugins to all subprojects .