-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
52 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ | |
*.properties text | ||
*.xml text | ||
*.yml text | ||
|
||
**/snapshots/**/*.png filter=lfs diff=lfs merge=lfs -text |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: "Validate Git LFS" | ||
|
||
on: | ||
push: | ||
branches: [develop, master, feature/*] | ||
pull_request: | ||
branches: [develop, master, feature/*] | ||
|
||
jobs: | ||
validate-lfs-pointers: | ||
name: "Validate Git LFS pointers" | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- run: git lfs fsck --pointers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import org.gradle.api.Project | ||
import org.gradle.api.attributes.java.TargetJvmEnvironment | ||
|
||
internal fun Project.fixGuavaDependencyForPaparazzi() { | ||
plugins.withId("app.cash.paparazzi") { | ||
// Defer until afterEvaluate so that testImplementation is created by Android plugin. | ||
afterEvaluate { | ||
dependencies.constraints { | ||
add("testImplementation", "com.google.guava:guava") { | ||
attributes { | ||
attribute( | ||
TargetJvmEnvironment.TARGET_JVM_ENVIRONMENT_ATTRIBUTE, | ||
objects.named(TargetJvmEnvironment::class.java, TargetJvmEnvironment.STANDARD_JVM) | ||
) | ||
} | ||
because( | ||
"LayoutLib and sdk-common depend on Guava's -jre published variant. " + | ||
"See https://github.com/cashapp/paparazzi/issues/906." | ||
) | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters