Gmazzo Gradle Buildconfig Plugin Versions Save

A plugin for generating BuildConstants for any kind of Gradle projects: Java, Kotlin, Groovy, etc. Designed for KTS scripts.

v5.3.5

4 months ago

What's Changed

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v5.3.4...v5.3.5

v5.3.4

4 months ago

What's Changed

Thanks @jasonsparc for your contribution reporting and dealing with the generate and sync and the cannot inline bytecode issues!

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v5.3.3...v5.3.4

v5.3.3

4 months ago

What's Changed

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v5.3.2...v5.3.3

v5.3.2

4 months ago

What's Changed

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v5.3.1...v5.3.2

v5.3.1

4 months ago

What's Changed

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v5.3.0...v5.3.1

v5.3.0

4 months ago

New features

Now the BuildConfig class/constants will be generated at Gradle Sync time on IntellJ IDEA

What's Changed

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v5.2.0...v5.3.0

v5.2.0

4 months ago

New features:

Map, File, and URI types can be used with the DSL

buildConfigField("MAP", mapOf("a" to 1, "b" to 2))
buildConfigField("FILE", File("aFile"))
buildConfigField("URI", uri("https://example.io"))
buildConfigField(Map.class, "MAP", [a: 1, b: 2])
buildConfigField(File.class, "FILE", new File("aFile"))
buildConfigField(URI.class, "URI", uri("https://example.io"))

[!IMPORTANT] Avoid generating File entries with Project.file API, as they are created with absolute paths, and it will produce cache misses.

buildConfigField("FILE", file("aFile")) // will create a file targeting `/your/project/root/aFile` -> DON'T!
buildConfigField("FILE", file("aFile").relativeToOrSelf(projectDir)) // use this instead, for instance

What's Changed

New Contributors

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v5.1.0...v5.2.0

v5.1.0

4 months ago

What's Changed

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v5.0.1...v5.1.0

v5.0.1

4 months ago

v5.0.0

5 months ago

New Features

Introduced typesafe DSL support for Kotlin and Groovy #100

Breaking changes

  • Plugin classes has been repackaged to com.github.gmazzo.buildconfig
  • BuildConfigField's type and value fields now has a dedicated wrapper class: BuildConfigType and BuildConfigValue
  • Dropped support for JDK8, now targeting JDK11

What's Changed

New Contributors

Full Changelog: https://github.com/gmazzo/gradle-buildconfig-plugin/compare/v4.2.0...v5.0.0