We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0706ac commit b354955Copy full SHA for b354955
packages/default-storage/android/config.gradle
@@ -51,7 +51,7 @@ String getKspVersion(String kotlinVersion) {
51
return overriddenKspVersion
52
}
53
// https://github.com/google/ksp/releases
54
- return [
+ def kspVersions = [
55
"1.9.20-1.0.14",
56
"1.9.10-1.0.13",
57
"1.9.0-1.0.13",
@@ -71,7 +71,9 @@ String getKspVersion(String kotlinVersion) {
71
"1.6.0-1.0.2",
72
"1.5.31-1.0.1",
73
"1.5.30-1.0.0",
74
- ].find { it.startsWith(kotlinVersion) }
+ ]
75
+
76
+ return kspVersions.find { it.startsWith(kotlinVersion) } ?: kspVersions.first()
77
78
79
// AsyncStorage has default size of 6MB.
0 commit comments