Skip to content

Releases: gmazzo/gradle-buildconfig-plugin

v5.5.1

19 Nov 09:57
Compare
Choose a tag to compare

Release to pick up Kotlin Poet 2.0.0 containing the Spaces don’t wrap by default change. See #15 (comment).
Thanks @ToxicBakery for being on top of this

What's Changed

Dependencies

Full Changelog: v5.5.0...v5.5.1

v5.5.0

17 Sep 13:05
90b6792
Compare
Choose a tag to compare

What's Changed

Features

  • Removed plugin self reference for tests 🤦 by @gmazzo in #164
  • Added support for customizing generated output by @gmazzo in #181

Dependencies

Full Changelog: v5.4.0...v5.5.0

v5.4.0

09 Jul 09:30
db8737f
Compare
Choose a tag to compare

What's Changed

Features

  • Migrated to gradle/actions/setup-gradle@v3 by @gmazzo in #132
  • Added actionlint to validate workflows by @gmazzo in #133
  • Fixed coverage by @gmazzo in #136
  • Added GRADLE_ENCRYPTION_KEY to the build by @gmazzo in #138
  • Dropping Kotlin 1.7 support and adding min Gradle version check by @gmazzo in #145
  • Replaced JUnit report action by @gmazzo in #151
  • Fixed Java identifier conversion for default group when it has numbers by @gmazzo in #162

Dependencies

Full Changelog: v5.3.5...v5.3.6

What's Changed

Features

  • Migrated to gradle/actions/setup-gradle@v3 by @gmazzo in #132
  • Added actionlint to validate workflows by @gmazzo in #133
  • Fixed coverage by @gmazzo in #136
  • Added GRADLE_ENCRYPTION_KEY to the build by @gmazzo in #138
  • Dropping Kotlin 1.7 support and adding min Gradle version check by @gmazzo in #145
  • Replaced JUnit report action by @gmazzo in #151
  • Fixed Java identifier conversion for default group when it has numbers by @gmazzo in #162

Dependencies

Full Changelog: v5.3.5...v5.4.0

v5.3.5

12 Jan 16:42
Compare
Choose a tag to compare

What's Changed

  • Revert "Removed reflection on Kotlin binding" by @gmazzo in #124

Full Changelog: v5.3.4...v5.3.5

v5.3.4

12 Jan 14:52
Compare
Choose a tag to compare

What's Changed

  • Bump io.mockk:mockk from 1.13.8 to 1.13.9 by @dependabot in #117
  • Bump com.android.application from 8.2.0 to 8.2.1 by @dependabot in #119
  • Bump com.github.gmazzo.buildconfig from 5.2.0 to 5.3.3 by @dependabot in #118
  • Improved generateAtSync by using prepareKotlinIdeaImport hook task by @gmazzo in #122
  • Targeting jvm-1.8 for plugin jar by @gmazzo in #123

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

Full Changelog: v5.3.3...v5.3.4

v5.3.3

07 Jan 20:45
Compare
Choose a tag to compare

What's Changed

  • Task will have SKIPPED state if there are no fields to generate by @gmazzo in #116

Full Changelog: v5.3.2...v5.3.3

v5.3.2

03 Jan 14:56
Compare
Choose a tag to compare

What's Changed

  • Only create generated dirs when it has specs by @gmazzo in #115

Full Changelog: v5.3.1...v5.3.2

v5.3.1

03 Jan 09:27
Compare
Choose a tag to compare

What's Changed

  • Do not early create prepareKotlinBuildScriptModel task by @gmazzo in #114

Full Changelog: v5.3.0...v5.3.1

v5.3.0

02 Jan 22:16
Compare
Choose a tag to compare

New features

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

What's Changed

  • Removed reflection on Kotlin binding by @gmazzo in #101
  • Bump io.github.gmazzo.publications.report from 1.2.2 to 1.2.4 by @dependabot in #111
  • Added missing Kotlin DSLs by @gmazzo in #112
  • Generate build config class at Gradle Sync (IDEA) by @gmazzo in #113

Full Changelog: v5.2.0...v5.3.0

v5.2.0

28 Dec 18:04
Compare
Choose a tag to compare

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

  • Bump kotlin from 1.9.21 to 1.9.22 by @dependabot in #107
  • Bump io.github.gmazzo.publications.report from 1.2.0 to 1.2.2 by @dependabot in #108
  • Fix typo in KTS resource generation example. by @utwyko in #109

New Contributors

Full Changelog: v5.1.0...v5.2.0