foundry

Gradle and IntelliJ build tooling used in Slack's Android repo

APACHE-2.0 License

Stars
427

Bot releases are hidden (Show)

foundry - 0.11.0

Published by ZacSweers 12 months ago

  • Revamp some lint configuration and best-effort support KMP projects.
  • Remove slack.lint.update-baselines property in favor of AGP's modern updateBaselines task.
  • Remove hidden ImplicitSamInstance lint config.
  • Disable newer issues for dependency checks.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.11...0.11.0

foundry - 0.10.11

Published by ZacSweers about 1 year ago

  • Support AGP 8.3.0-alpha08.
  • Build against Gradle 8.4.
  • Build against compose-multiplatform 1.5.3.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.10...0.10.11

foundry - 0.10.10

Published by ZacSweers about 1 year ago

  • Make debug builds everywhere (local and CI) use consistent version codes and version names. This way remote build cache entries for them are compatible.
    • Default debug version code is governed by slack.gradle.debugVersionCode and defaults to 90009999.
    • Default version name user suffix is governed by slack.gradle.debugUserString and defaults to debug.
    • Non-debug build types are the same as before.
  • Remove a noisy lifecycle log around lint variant selection.
  • Build against Bugsnag Gradle Plugin 8.1.0.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.9...0.10.10

foundry - 0.10.9

Published by ZacSweers about 1 year ago

  • Don't disable caching on MergeAssets tasks by default. Leave that to consuming repos.
  • Update permission allowlist API to use a allowListFile file property instead.
  • Don't exclude coroutines' debug probes in debug build packaging.
  • Support AGP 8.3.0-alpha05+.
  • Build against Wire 4.9.1.
  • Build against Compose Multiplatform 1.5.2.
  • Update to Oshi 6.4.6.

What's Changed

New Contributors

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.8...0.10.9

foundry - 0.10.8

Published by ZacSweers about 1 year ago

  • Fix: Don't apply boms to the coreLibraryDesugaring configuration.
  • Enhancement: Set Kotlin compilerOptions.moduleName to a dashified version of the Gradle project path.
  • Update MoshiX to 0.24.3
  • Compile against Anvil 2.4.8.
  • Compile against CM 1.5.1.
  • Compile against DAGP 1.22.0.
  • Compile against redacted-compiler-plugin 1.6.1.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.7...0.10.8

foundry -

Published by ZacSweers about 1 year ago

  • Fix: Don't apply BOMs to testApi configurations.
foundry - 0.10.6

Published by ZacSweers about 1 year ago

  • New: Publish a generic Tracing API under the sgp-tracing artifact ID. We use this internally to collect extra build metadata, but it's generic enough for general use. Not currently used in slack-plugin yet.
  • Add sgp.android.buildToolsVersionOverride property to override the default build tools version in Android.
  • Migrate to AndroidPluginVersion API in AgpHandler.
  • Fix a few more deprecated Gradle API usages.
  • Build against AGP 8.1.1.
  • Build against Spotless 6.21.0.
  • Build against Compose Multiplatform 1.5.0.
  • Update to Kotlin 1.9.10.
  • Update to KSP 1.9.10-1.0.13.
  • Update to RxJava 3.1.7.
  • Update to kotlin-cli-util 2.2.1.
  • Update to Oshi 6.4.5.
  • Update to Wire 4.8.1
  • Update to DAGP 1.21.0.
  • Update to Gradle 8.3.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.5...0.10.6

foundry - 0.10.5

Published by ZacSweers about 1 year ago

  • Fix: Better support com.android.test projects in a few ways
    • No longer apply lint configurations as they don't support them.
    • No longer apply DAGP as it doesn't support them yet.
    • No longer apply unit test configurations as they don't have unit tests.
  • Build against Gradle 8.3 + fix a few deprecated Project.buildDir API usages.
  • Update kotlin-cli-util to 2.1.0.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.4...0.10.5

foundry - 0.10.4

Published by ZacSweers about 1 year ago

  • New: New DSL API for enabling Android resources.

This streamlines configuration of enabling androidResources and enforces use of a resource prefix to avoid conflicts.

May your avatars never be wrongly sized again.

slack {
  android {
    features {
      resources("prefix_")
    }
  }
}
  • Update kotlin-cli-util to 2.0.0.
  • Update Moshi to 1.15.0.
  • Update sort-dependencies to 0.4.
  • Update KSP to 1.9.0-1.0.13.
  • Update Okio to 3.5.0.
  • Update Jetbrains Markdown to 0.5.0.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.3...0.10.4

foundry - 0.10.3

Published by ZacSweers about 1 year ago

  • Fix an issue with Skippy where we would accidentally mark all library projects as affected androidTest projects even if they didn't have androidTest enabled.
  • Update Guava to 32.1.2-jre.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.2...0.10.3

foundry - 0.10.2

Published by ZacSweers about 1 year ago

  • Apparently the bugsnag plugin relies on the version code to be set in the variant output, so now we set a default again (configurable via slack.gradle.defaultVersionCode). The default is 90009999, for reasons.

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.1...0.10.2

foundry - 0.10.1

Published by ZacSweers about 1 year ago

  • Use a single version code for all APK architectures.
    • Before, we used to compute a different version code for each architecture. This is kinda silly, and broke with AGP 8.1.0. So now we no longer do this. This means that by default, no custom version code is set unless an override is set in {rootProject}/build/ci/release.version. The default behavior will be to just use the version set in the android DSL.
  • Update to Detekt 1.23.1.
  • Update to Gradle Enterprise 3.14.1.
  • Update to Compose Multiplatform 1.4.3.
  • Update to SqlDelight 2.0.0.
  • Update to Anvil 2.4.7.

What's Changed

New Contributors

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.10.0...0.10.1

foundry - 0.10.0

Published by ZacSweers about 1 year ago

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.9.18...0.10.0

foundry - 0.9.18

Published by ZacSweers over 1 year ago

  • Fix: Differentiate unit and instrumentation tests in Skippy. Now changing a unit test will not cause the instrumentation tests to be marked as affected.
  • Add slack.dependencyrake.dryRun gradle property flag for dependency rake to enable dry-run. If enabled, the project build files will not be modified and a separate new-build.gradle.kts file will be written to instead.
  • Update Okio to 3.4.0.

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.9.17...0.9.18

foundry - 0.9.17

Published by ZacSweers over 1 year ago

  • Don't register RakeDependencies task on platform projects.
  • Fix configuration cache for Dependency Rake. Note that DAGP doesn't yet support it.
  • Add Dependency Rake usage to its doc.
  • Add missing identifiers aggregation for Dependency Rake. This makes it easier to find and add missing identifiers to version catalogs that dependency rake expects.
    • ./gradlew aggregateMissingIdentifiers -Pslack.gradle.config.enableAnalysisPlugin=true --no-configuration-cache

What's Changed

Full Changelog: https://github.com/slackhq/slack-gradle-plugin/compare/0.9.16...0.9.17

foundry -

Published by ZacSweers over 1 year ago

  • Enable lint on test sources by default.
  • Account for all version catalogs in DependencyRake.
  • Update Guava to 32.1.0-jre.
foundry -

Published by ZacSweers over 1 year ago

foundry -

Published by ZacSweers over 1 year ago

  • Fix compose compiler config not applying to android projects.
foundry -

Published by ZacSweers over 1 year ago

  • Fix wrong map key name being used in exclusion.
foundry -

Published by ZacSweers over 1 year ago

  • Fix wrong dependency being used for compose-compiler in new Compose configuration overhaul.