File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed
buildSrc/src/main/java/com/example/crane/buildsrc Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -69,4 +69,18 @@ subprojects {
69
69
freeCompilerArgs + = ' -Xallow-jvm-ir-dependencies'
70
70
}
71
71
}
72
- }
72
+
73
+ // Crane uses Compose alpha03 and Android Gradle Plugin 4.2.0-alpha13 which are incompatible
74
+ // TODO: Remove this workaround when updating to >alpha04
75
+ configurations. configureEach {
76
+ resolutionStrategy. eachDependency { DependencyResolveDetails details ->
77
+ def group = details. requested. group
78
+ def module = details. requested. module. name
79
+ def version = details. requested. version
80
+
81
+ if (group == ' androidx.compose.compiler' && module == ' compiler' ) {
82
+ details. useTarget(" androidx.compose:compose-compiler:$version " )
83
+ }
84
+ }
85
+ }
86
+ }
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ object Versions {
21
21
}
22
22
23
23
object Libs {
24
- const val androidGradlePlugin = " com.android.tools.build:gradle:4.2.0-alpha12 "
24
+ const val androidGradlePlugin = " com.android.tools.build:gradle:4.2.0-alpha13 "
25
25
const val ktLint = " com.pinterest:ktlint:${Versions .ktLint} "
26
26
const val googleMaps = " com.google.android.libraries.maps:maps:3.1.0-beta"
27
27
You can’t perform that action at this time.
0 commit comments