-
Notifications
You must be signed in to change notification settings - Fork 32
/
build.gradle
36 lines (35 loc) · 1.32 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
plugins {
alias(libs.plugins.android.application) apply false
alias(libs.plugins.android.library) apply false
alias(libs.plugins.kotlin.android) apply false
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.kotlin.parcelize) apply false
alias(libs.plugins.jetbrains.compose) apply false
alias(libs.plugins.paparazzi) apply false
alias(libs.plugins.dokka) apply false
alias(libs.plugins.mavenPublish) apply false
alias(libs.plugins.dropshots) apply false
alias(libs.plugins.emulatorWtf) apply false
alias(libs.plugins.metalava) apply false
alias(libs.plugins.poko) apply false
}
// https://github.com/cashapp/paparazzi/issues/1231
subprojects {
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, TargetJvmEnvironment.STANDARD_JVM)
)
}
because("LayoutLib and sdk-common depend on Guava's -jre published variant." +
"See https://github.com/cashapp/paparazzi/issues/906.")
}
}
}
}
}