Skip to content

Commit

Permalink
Prepare for release 0.23.5.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacSweers committed Dec 13, 2024
1 parent 2c9facc commit 98448e4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 2 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Changelog
**Unreleased**
--------------

0.23.5
------

_2024-12-12_

- Don't apply checkDependencies in test projects' lint.

0.23.4
------

Expand Down
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@ POM_DEVELOPER_ID=slackhq
POM_DEVELOPER_NAME=Slack Technologies, Inc.
POM_DEVELOPER_URL=https://github.com/slackhq
POM_INCEPTION_YEAR=2022
VERSION_NAME=1.0.0-SNAPSHOT
VERSION_NAME=0.23.5
Original file line number Diff line number Diff line change
Expand Up @@ -385,6 +385,12 @@ internal constructor(
public val enableLintInAndroidTestProjects: Boolean
get() = booleanProperty("foundry.lint.enableOnAndroidTestProjects", false)

/**
* Proxy flag for lint.checkDependencies. Usually enabled for application projects.
*/
public val lintCheckDependencies: Boolean
get() = booleanProperty("foundry.lint.checkDependencies", false)

/** If enabled, enables emulator.wtf for androidTest() uses. */
public val enableEmulatorWtfForAndroidTest: Boolean
get() = booleanProperty("foundry.emulatorwtf.enable", false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -324,7 +324,10 @@ internal object LintTasks {
// see https://issuetracker.google.com/issues/265962219
disable += "EnsureInitializerMetadata"

if (androidExtensionNullable is ApplicationAndroidComponentsExtension) {
if (
androidExtensionNullable is ApplicationAndroidComponentsExtension &&
!foundryProperties.isTestLibrary
) {
checkDependencies = true
}

Expand Down

0 comments on commit 98448e4

Please sign in to comment.