Skip to content

Commit 10457e3

Browse files
committed
Compose, AGP, gradle, kotlin version updates
1 parent e6495b7 commit 10457e3

File tree

8 files changed

+20
-18
lines changed

8 files changed

+20
-18
lines changed

.idea/compiler.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/gradle.xml

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
[![Release](https://jitpack.io/v/popovanton0/heart-switch.svg)](https://jitpack.io/#popovanton0/heart-switch)
1313
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
14-
[![Compatible with Compose — 1.3.0](https://img.shields.io/badge/Compatible%20with%20Compose-1.3.0-brightgreen)](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.3.0)
14+
[![Compatible with Compose — 1.4.0](https://img.shields.io/badge/Compatible%20with%20Compose-1.4.0-brightgreen)](https://developer.android.com/jetpack/androidx/releases/compose-foundation#1.4.0)
1515

1616
Add the following code to your project's _root_ `build.gradle` file:
1717

app/build.gradle

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ dependencies {
5252
implementation "androidx.compose.ui:ui:$compose_version"
5353
implementation "androidx.compose.material:material:$compose_version"
5454
implementation "androidx.compose.ui:ui-tooling-preview:$compose_version"
55-
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.5.1'
56-
implementation 'androidx.activity:activity-compose:1.6.1'
55+
implementation 'androidx.lifecycle:lifecycle-runtime-ktx:2.6.1'
56+
implementation 'androidx.activity:activity-compose:1.7.0'
5757
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
5858

5959
testImplementation 'junit:junit:4.13.2'
60-
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
61-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
60+
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
61+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
6262
androidTestImplementation "androidx.compose.ui:ui-test-junit4:$compose_version"
6363
}

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
buildscript {
22
ext {
3-
compose_version = '1.3.0'
4-
compose_compiler_version = '1.3.2'
3+
compose_version = '1.4.0'
4+
compose_compiler_version = '1.4.4'
55
}
66
}
77

88
plugins {
9-
id 'com.android.application' version '7.3.1' apply false
10-
id 'com.android.library' version '7.3.1' apply false
11-
id 'org.jetbrains.kotlin.android' version '1.7.20' apply false
12-
id 'org.jetbrains.kotlinx.binary-compatibility-validator' version '0.12.1' apply false
9+
id 'com.android.application' version '7.4.2' apply false
10+
id 'com.android.library' version '7.4.2' apply false
11+
id 'org.jetbrains.kotlin.android' version '1.8.10' apply false
12+
id 'org.jetbrains.kotlinx.binary-compatibility-validator' version '0.13.0' apply false
1313
}
1414

15-
task clean(type: Delete) {
15+
tasks.register('clean', Delete) {
1616
delete rootProject.buildDir
1717
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
distributionBase=GRADLE_USER_HOME
2-
distributionUrl=https\://services.gradle.org/distributions/gradle-7.4-bin.zip
2+
distributionUrl=https\://services.gradle.org/distributions/gradle-7.5-bin.zip
33
distributionPath=wrapper/dists
44
zipStorePath=wrapper/dists
55
zipStoreBase=GRADLE_USER_HOME

heart-switch/api/heart-switch.api

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ public final class com/popovanton0/heartswitch/ComposableSingletons$HeartSwitchK
1313
}
1414

1515
public final class com/popovanton0/heartswitch/HeartShape : androidx/compose/ui/graphics/Shape {
16+
public static final field $stable I
1617
public static final field Companion Lcom/popovanton0/heartswitch/HeartShape$Companion;
1718
public synthetic fun <init> (JJLkotlin/jvm/internal/DefaultConstructorMarker;)V
1819
public fun createOutline-Pq9zytI (JLandroidx/compose/ui/unit/LayoutDirection;Landroidx/compose/ui/unit/Density;)Landroidx/compose/ui/graphics/Outline;
@@ -25,6 +26,7 @@ public final class com/popovanton0/heartswitch/HeartShape$Companion {
2526
}
2627

2728
public final class com/popovanton0/heartswitch/HeartSwitchColors {
29+
public static final field $stable I
2830
public synthetic fun <init> (JJJJJJILkotlin/jvm/internal/DefaultConstructorMarker;)V
2931
public synthetic fun <init> (JJJJJJLkotlin/jvm/internal/DefaultConstructorMarker;)V
3032
public final fun component1-0d7_KjU ()J

heart-switch/build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ dependencies {
4646
debugImplementation "androidx.compose.ui:ui-tooling:$compose_version"
4747

4848
testImplementation 'junit:junit:4.13.2'
49-
androidTestImplementation 'androidx.test.ext:junit:1.1.3'
50-
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
49+
androidTestImplementation 'androidx.test.ext:junit:1.1.5'
50+
androidTestImplementation 'androidx.test.espresso:espresso-core:3.5.1'
5151
}
5252

5353
assemble.dependsOn check
@@ -59,7 +59,7 @@ afterEvaluate {
5959
from components.release
6060
groupId = 'com.popovanton0.heartswitch'
6161
artifactId = 'heart-switch'
62-
version = '1.2.0'
62+
version = '1.3.0'
6363
}
6464
}
6565
}

0 commit comments

Comments
 (0)