Skip to content

Releases: slackhq/foundry

0.5.0

23 Jan 20:19
Compare
Choose a tag to compare
  • New: Introduce a new sgp-monkeypatch-agp artifact. This contains monkeypatches for AGP where we try to fix bugs. This initial version contains a patched MergeFilesTask 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 the com.slack.sgp.sort-merge-files system property to true.
  • 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_.*.
  • 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. Point google-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

13 Jan 22:29
Compare
Choose a tag to compare
  • Enhancement: Change default gradle memory percent in bootstrap from 25% to 50%.
  • Fix: Support the gradle enterprise plugin retry implementation when using Gradle enterprise 3.12+.

0.4.1

09 Jan 23:43
Compare
Choose a tag to compare
  • Fix: Remove EitherNet compiler option opt-ins.
  • Update Okio to 3.3.0.

What's Changed

Full Changelog: 0.4.0...0.4.1

0.4.0

29 Dec 15:04
Compare
Choose a tag to compare
  • 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

Full Changelog: 0.3.8...0.4.0

0.3.8

22 Dec 21:10
Compare
Choose a tag to compare
  • Add support for AGP 8.0.0-alpha10.

0.3.7

22 Dec 21:10
Compare
Choose a tag to compare
  • Fix: Don't apply freeCompilerArguments.
  • Fix: Add missing license information to published POM files.

0.3.6

15 Dec 18:54
Compare
Choose a tag to compare
  • Backport android.packagingOptions.jniLibs.pickFirst for AGP 8.x compatibility, as the returned type by jniLibs changed from JniLibsPackagingOptions to JniLibsPackaging.

What's Changed

Full Changelog: 0.3.5...0.3.6

0.3.5

15 Dec 18:54
Compare
Choose a tag to compare
  • Introduce compileCiUnitTest lifecycle task to just compile (but not run!) unit tests that are run by ciUnitTest.

What's Changed

Full Changelog: 0.3.4...0.3.5

0.3.4

05 Dec 04:21
Compare
Choose a tag to compare
  • Only enable isIncludeAndroidResources in Android unit tests automatically when robolectric() is used.

What's Changed

Full Changelog: 0.3.3...0.3.4

0.3.3

11 Nov 19:17
Compare
Choose a tag to compare
  • Add some more Kotlin compiler arguments to compilations. See #160.

What's Changed

Full Changelog: 0.3.2...0.3.3