Skip to content

Commit 908cd21

Browse files
author
caiyuwei
committed
fix: Kotlin plugin should be enabled before 'kotlin-android-extensions'
1 parent cb8feb8 commit 908cd21

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/build.gradle

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
apply plugin: 'com.android.application'
2+
apply plugin: 'kotlin-android'
3+
apply plugin: 'kotlin-android-extensions'
24

35
android {
46
compileSdkVersion 28

library/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apply plugin: 'com.android.library'
2-
apply plugin: 'kotlin-android-extensions'
32
apply plugin: 'kotlin-android'
3+
apply plugin: 'kotlin-android-extensions'
44

55

66
android {

0 commit comments

Comments
 (0)