paparazzi-tests: workaround incompatible Compose Compiler dependency

This commit is contained in:
Harsh Shandilya 2022-07-09 17:16:53 +05:30
parent aa1f4cb827
commit f86714ced3
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
3 changed files with 16 additions and 0 deletions

10
.github/renovate.json vendored
View file

@ -27,6 +27,16 @@
],
"datasourceTemplate": "maven",
"depNameTemplate": "com.facebook:ktfmt"
},
{
"fileMatch": [
".toml$"
],
"matchStrings": [
"composeCompiler = \"(?<currentValue>.*)\""
],
"datasourceTemplate": "maven",
"depNameTemplate": "androidx.compose.compiler:compiler"
}
]
}

View file

@ -4,6 +4,8 @@ agp = "7.4.0-alpha08"
androidXTest = "1.4.0"
aurora = "1.1.0"
coil = "2.1.0"
# @keep This is used by paparazzi-tests and Renovate
composeCompiler = "1.2.0"
coroutines = "1.6.3"
dagger = "2.42"
hilt = "1.0.0"

View file

@ -11,6 +11,10 @@ androidComponents { beforeVariants(selector().all()) { it.enable = it.buildType
android {
namespace = "dev.msfjarvis.claw.android.tests"
buildFeatures { compose = true }
composeOptions {
useLiveLiterals = false
kotlinCompilerExtensionVersion = libs.versions.composeCompiler.get()
}
}
dependencies {