Skip to content

Commit 05b95a8

Browse files
committed
Build: Replace kotlin android extensions with parcelize for wordpress
Since this lib utilizes the '@parcelize' annotation (ie. 'SelectedDateProvider' on 'StatsActivity'), the 'kotlin-android-extensions' plugin cannot be removed completely, but instead it needs to be replaced with the 'kotlin-parcelize' plugin.
1 parent 53af39a commit 05b95a8

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

WordPress/build.gradle

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ repositories {
5151

5252
apply plugin: 'com.android.application'
5353
apply plugin: 'kotlin-android'
54-
apply plugin: 'kotlin-android-extensions'
54+
apply plugin: 'kotlin-parcelize'
5555
apply plugin: 'se.bjurr.violations.violation-comments-to-github-gradle-plugin'
5656
apply plugin: 'kotlin-allopen'
5757
apply plugin: 'kotlin-kapt'
@@ -235,11 +235,6 @@ android {
235235
}
236236
}
237237

238-
// allows us to use cool things like @Parcelize annotations
239-
androidExtensions {
240-
experimental = true
241-
}
242-
243238
dependencies {
244239
implementation project(path: ':mp4compose')
245240
implementation project(path:':libs:stories-android:stories')

0 commit comments

Comments
 (0)