Releases: gmazzo/gradle-buildconfig-plugin
Releases · gmazzo/gradle-buildconfig-plugin
v5.3.2
v5.3.1
v5.3.0
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
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 instanceWhat'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
v5.1.0
What's Changed
- Bump junit:junit from 4.13.1 to 4.13.2 by @dependabot in #105
- Bump io.github.gmazzo.publications.report from 1.0.0 to 1.1.0 by @dependabot in #104
- Improved DSL by @gmazzo in #106
Full Changelog: v5.0.1...v5.1.0
v5.0.1
v5.0.0
New Features
Introduced typesafe DSL support for Kotlin and Groovy #100
Breaking changes
- Plugin classes has been repackaged to
com.github.gmazzo.buildconfig BuildConfigField'stypeandvaluefields now has a dedicated wrapper class:BuildConfigTypeandBuildConfigValue- Dropped support for
JDK8, now targetingJDK11
What's Changed
- Bump com.android.application from 8.1.3 to 8.1.4 by @dependabot in #92
- Bump com.squareup:kotlinpoet from 1.14.2 to 1.15.1 by @dependabot in #91
- Bump org.apache.commons:commons-lang3 from 3.13.0 to 3.14.0 by @dependabot in #93
- Bump com.squareup:kotlinpoet from 1.15.1 to 1.15.3 by @dependabot in #96
- Bump kotlin from 1.9.20 to 1.9.21 by @dependabot in #94
- Update Gradle Wrapper from 8.4 to 8.5 by @gmazzo in #95
- Fix generic tests by @gmazzo in #99
- Add support for basic generic types by @ZacSweers in #98
- Bump com.android.application from 8.1.4 to 8.2.0 by @dependabot in #97
- Introduced Typesafe DSL and support for generic types by @gmazzo in #100
- Correct plugin classes package by @gmazzo in #102
New Contributors
- @ZacSweers made their first contribution in #98
Full Changelog: v4.2.0...v5.0.0
v4.2.0
What's Changed
- Bump org.apache.commons:commons-lang3 from 3.12.0 to 3.13.0 by @dependabot in #70
- Bump com.android.application from 8.0.2 to 8.1.0 by @dependabot in #69
- Added documentation on how to mimic Android flavors by @gmazzo in #71
- Bump io.mockk:mockk from 1.13.5 to 1.13.7 by @dependabot in #72
- Update Gradle Wrapper from 8.2.1 to 8.3 by @gmazzo in #73
- Bump com.gradle.plugin-publish from 1.2.0 to 1.2.1 by @dependabot in #74
- Bump com.android.application from 8.1.0 to 8.1.1 by @dependabot in #75
- Bump kotlin from 1.9.0 to 1.9.10 by @dependabot in #76
- Bump actions/checkout from 3 to 4 by @dependabot in #77
- Bump mikepenz/action-junit-report from 3 to 4 by @dependabot in #78
- Bump com.android.application from 8.1.1 to 8.1.2 by @dependabot in #83
- Update Gradle Wrapper from 8.3 to 8.4 by @gmazzo in #84
- Bump kotlin from 1.9.10 to 1.9.20 by @dependabot in #85
- Bump com.android.application from 8.1.2 to 8.1.3 by @dependabot in #87
- Fix plugin badge showing an outdated version by @TWiStErRob in #88
- Bump JDK version to 11 by @gmazzo in #89
- Bump io.mockk:mockk from 1.13.7 to 1.13.8 by @dependabot in #82
- Added support for
documentationin the DSL by @gmazzo in #90
New Contributors
- @TWiStErRob made their first contribution in #88
Full Changelog: v4.1.2...v4.2.0
v4.1.2
Patch release to pick the latest inline bytecode changes from Gradle Kotlin DSL.
What's Changed
- Update Gradle Wrapper from 8.1.1 to 8.2 by @gmazzo in #62
- Bump kotlin from 1.8.22 to 1.9.0 by @dependabot in #63
- Update Gradle Wrapper from 8.2 to 8.2.1 by @gmazzo in #64
Full Changelog: v4.1.1...v4.1.2