Skip to content

Commit 0fb0197

Browse files
authored
Kotlin 1.8.10 (#95)
* Kotlin 1.8.10 * Poko 0.12.0 * Compose compiler 1.4.4 * Accompanist 0.30.1 * Add :demo lint baseline to work around lint bug
1 parent 93c5b82 commit 0fb0197

3 files changed

Lines changed: 45 additions & 4 deletions

File tree

demo/build.gradle

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,10 @@ android {
5252
kotlinOptions {
5353
jvmTarget = JavaVersion.VERSION_1_8
5454
}
55+
56+
lint {
57+
baseline = file("lint-baseline.xml")
58+
}
5559
}
5660

5761
dependencies {

demo/lint-baseline.xml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<issues format="6" by="lint 7.3.1" type="baseline" client="gradle" dependencies="false" name="AGP (7.3.1)" variant="all" version="7.3.1">
3+
4+
<issue
5+
id="NewApi"
6+
message="Call requires API level 24 (current min is 16): `java.lang.Iterable#forEach`"
7+
errorLine1=" is DeferredColorsView -> viewModel.colorSamples.forEach { sample ->"
8+
errorLine2=" ~~~~~~~">
9+
<location
10+
file="src/main/java/com/backbase/deferredresources/demo/DemoPagerAdapter.kt"
11+
line="67"
12+
column="61"/>
13+
</issue>
14+
15+
<issue
16+
id="NewApi"
17+
message="Call requires API level 24 (current min is 16): `java.lang.Iterable#forEach`"
18+
errorLine1=" is DeferredDrawablesView -> viewModel.iconSamples.forEach { sample ->"
19+
errorLine2=" ~~~~~~~">
20+
<location
21+
file="src/main/java/com/backbase/deferredresources/demo/DemoPagerAdapter.kt"
22+
line="71"
23+
column="63"/>
24+
</issue>
25+
26+
<issue
27+
id="GradleDependency"
28+
message="A newer version of androidx.activity:activity-ktx than 1.2.3 is available: 1.7.0"
29+
errorLine1=" implementation(project(&apos;:deferred-resources&apos;))"
30+
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
31+
<location
32+
file="build.gradle"
33+
line="64"
34+
column="20"/>
35+
</issue>
36+
37+
</issues>

gradle/libs.versions.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
[versions]
2-
accompanist = "0.27.1"
3-
androidx-compose-compiler = "1.3.2"
2+
accompanist = "0.30.1"
3+
androidx-compose-compiler = "1.4.4"
44
androidx-compose-runtime = "1.3.1"
55
android-test = "1.3.0"
6-
kotlin = "1.7.20"
7-
poko = "0.11.0"
6+
kotlin = "1.8.10"
7+
poko = "0.12.0"
88

99
[libraries]
1010
accompanist-drawablePainter = { module = "com.google.accompanist:accompanist-drawablepainter", version.ref = "accompanist" }

0 commit comments

Comments
 (0)