Releases: slackhq/foundry
Releases · slackhq/foundry
0.5.0
- New: Introduce a new
sgp-monkeypatch-agp
artifact. This contains monkeypatches for AGP where we try to fix bugs. This initial version contains a patchedMergeFilesTask
that sorts files before merging them to ensure deterministic outputs, as we believe this is causing our lint tasks to be non-cacheable across machines. This can be enabled via setting thecom.slack.sgp.sort-merge-files
system property totrue
. - New: Rework how bugsnag is enabled. Instead of only applying the plugin in release/main builds, we now always apply the plugin and only enable uploads on release/main builds. This allows us to catch issues with the plugin in updates sooner, as before we would not see them on PRs.
- Uploads can be force-enabled via setting the
slack.gradle.config.bugsnag.enabled
gradle property to true. - Branches that allow uploads can be configured via regexp value on the
slack.gradle.config.bugsnag.enabledBranchPattern
gradle property. For example:slack.gradle.config.bugsnag.enabledBranchPattern=main|release_.*
.
- Uploads can be force-enabled via setting the
- New: Source desugar libraries from
libs.versions.toml
instead of assuming the artifact name. Starting with 1.2.0, desugar JDK libs offers multiple artifacts. Pointgoogle-coreLibraryDesugaring
in[libraries]
to whichever artifact should be used. - Fix: Catch and print errors with thermal closes.
- Misc: Update to JDK 19 and latest AGPs. The plugin itself still targets JVM 11 bytecode. AGP 7.4.0 is now required.
0.4.2
0.4.1
- Fix: Remove EitherNet compiler option opt-ins.
- Update Okio to
3.3.0
.
What's Changed
- Update dependency dev.zacsweers.redacted:redacted-compiler-plugin-gradle to v1.3.0 by @slack-oss-bot in #198
- Update moshix to v0.21.0 by @slack-oss-bot in #201
- Update spotless to v6.12.1 by @slack-oss-bot in #202
- Update dependency com.vanniktech.maven.publish to v0.23.1 by @slack-oss-bot in #200
- Update dependency com.android.tools.build:gradle to v8.0.0-alpha11 by @slack-oss-bot in #204
- Update plugin com.gradle.enterprise to v3.12.2 by @slack-oss-bot in #205
- Update dependency com.squareup.okio:okio to v3.3.0 by @slack-oss-bot in #206
- Remove eithernet opt-ins by @ZacSweers in #207
Full Changelog: 0.4.0...0.4.1
0.4.0
- Update to Kotlin 1.8.0. This plugin now requires Kotlin 1.8.0 or later as it only configures KGP's new
compilerOptions
API now.
What's Changed
- Update dependencyAnalysisPlugin to v1.18.0 by @slack-oss-bot in #197
- Update to Kotlin 1.8.0 by @ZacSweers in #166
Full Changelog: 0.3.8...0.4.0
0.3.8
0.3.7
0.3.6
- Backport
android.packagingOptions.jniLibs.pickFirst
for AGP 8.x compatibility, as the returned type byjniLibs
changed fromJniLibsPackagingOptions
toJniLibsPackaging
.
What's Changed
- Backport new jniLibs access in AGP 8 handling by @ZacSweers in #187
- Update plugin com.gradle.enterprise to v3.12 by @slack-oss-bot in #186
- Update dependency org.jetbrains:markdown to v0.3.4 by @slack-oss-bot in #185
- Update dependency org.jetbrains:markdown to v0.3.5 by @slack-oss-bot in #188
Full Changelog: 0.3.5...0.3.6
0.3.5
- Introduce
compileCiUnitTest
lifecycle task to just compile (but not run!) unit tests that are run byciUnitTest
.
What's Changed
- Update moshix to v0.20.0 by @slack-oss-bot in #181
- Add compileCiUnitTest lifecycle task by @ZacSweers in #182
Full Changelog: 0.3.4...0.3.5
0.3.4
- Only enable
isIncludeAndroidResources
in Android unit tests automatically whenrobolectric()
is used.
What's Changed
- Update dependencyAnalysisPlugin to v1.14.1 by @slack-oss-bot in #163
- Update dependency com.github.ben-manes.versions to v0.44.0 by @slack-oss-bot in #161
- Update dependency com.bugsnag:bugsnag-android-gradle-plugin to v7.4.0 by @slack-oss-bot in #159
- Update dependency com.android.tools.build:gradle to v8.0.0-alpha08 by @slack-oss-bot in #152
- Enable build scans by @ZacSweers in #154
- Update dependency com.github.oshi:oshi-core to v6.3.1 by @slack-oss-bot in #153
- Update dependencyAnalysisPlugin to v1.15.0 by @slack-oss-bot in #167
- Update plugin com.gradle.enterprise to v3.11.4 by @slack-oss-bot in #165
- Update dependency com.github.oshi:oshi-core to v6.3.2 by @slack-oss-bot in #164
- Update ksp to v1.7.21-1.0.8 by @slack-oss-bot in #155
- Update plugin bestPracticesPlugin to v0.8 by @slack-oss-bot in #135
- Update detekt to v1.22.0 by @slack-oss-bot in #168
- Update dependency org.jetbrains.kotlin.jvm to v1.7.21 by @slack-oss-bot in #156
- Update dependency com.github.oshi:oshi-core to v6.4.0 by @slack-oss-bot in #175
- Update spotless to v6.12.0 by @slack-oss-bot in #170
- Update dependency gradle to v7.6 by @slack-oss-bot in #171
- Update dependency org.jetbrains.kotlin.jvm to v1.7.22 by @slack-oss-bot in #172
- Update dependencyAnalysisPlugin to v1.17.0 by @slack-oss-bot in #169
- Update dependency com.android.tools.build:gradle to v8.0.0-alpha09 by @slack-oss-bot in #174
- Update ksp to v1.7.22-1.0.8 by @slack-oss-bot in #173
- Only enable androidResources in tests if robolectric is requested by @ZacSweers in #176
- Update dependency dev.zacsweers.redacted:redacted-compiler-plugin-gradle to v1.2.1 by @slack-oss-bot in #180
Full Changelog: 0.3.3...0.3.4
0.3.3
- Add some more Kotlin compiler arguments to compilations. See #160.
What's Changed
- Add some new compiler args by @ZacSweers in #160
Full Changelog: 0.3.2...0.3.3