Skip to content

Commit df6cca1

Browse files
committed
fix(canvas): switch ktx to prevent crashing on older runtimes
1 parent 781e589 commit df6cca1

File tree

7 files changed

+14
-7
lines changed

7 files changed

+14
-7
lines changed

packages/canvas-polyfill/src-native/AsyncDemo/.idea/.name

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

packages/canvas-polyfill/src-native/AsyncDemo/.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/canvas-polyfill/src-native/AsyncDemo/app/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,12 @@ android {
3535
dependencies {
3636

3737
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
38-
implementation 'androidx.core:core-ktx:1.3.2'
38+
implementation "androidx.core:core:1.3.2"
3939
implementation 'androidx.appcompat:appcompat:1.2.0'
4040
implementation 'com.google.android.material:material:1.2.1'
4141
implementation 'androidx.constraintlayout:constraintlayout:2.0.4'
4242
implementation project(path: ':async')
4343
testImplementation 'junit:junit:4.+'
4444
androidTestImplementation 'androidx.test.ext:junit:1.1.2'
4545
androidTestImplementation 'androidx.test.espresso:espresso-core:3.3.0'
46-
}
46+
}

packages/canvas-polyfill/src-native/AsyncDemo/async/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ android {
3535
dependencies {
3636

3737
implementation "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
38-
implementation 'androidx.core:core-ktx:1.3.2'
38+
implementation "androidx.core:core:1.3.2"
3939
implementation 'androidx.appcompat:appcompat:1.2.0'
4040
implementation 'com.google.android.material:material:1.2.1'
4141
testImplementation 'junit:junit:4.+'
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
dependencies {
2-
implementation 'com.github.triniwiz:canvas:0.9.4'
2+
implementation 'com.github.triniwiz:canvas:0.9.5'
33
}

packages/canvas/src-native/canvas-android/canvas/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ dependencies {
4646
testImplementation 'junit:junit:4.12'
4747
androidTestImplementation 'androidx.test:runner:1.2.0'
4848
androidTestImplementation 'androidx.test.espresso:espresso-core:3.2.0'
49-
implementation "androidx.core:core-ktx:1.3.2"
49+
implementation "androidx.core:core:1.3.2"
5050
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
5151
}
5252

packages/canvas/src-native/canvas-android/canvas/publish.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'maven-publish'
22
apply plugin: 'com.jfrog.bintray'
33

44
group 'com.github.triniwiz'
5-
version '0.9.4'
5+
version '0.9.5'
66

77
afterEvaluate {
88
publishing {
@@ -15,7 +15,7 @@ afterEvaluate {
1515
// You can then customize attributes of the publication as shown below.
1616
groupId = 'com.github.triniwiz'
1717
artifactId = 'canvas'
18-
version = '0.9.4'
18+
version = '0.9.5'
1919
}
2020
}
2121
}

0 commit comments

Comments
 (0)