Compile databinding with Kotlin apiVerison 1.3
Bug: 167583121
Test: DataBindingKtsTest
Change-Id: I763a83ed63486eebb2dc94f3b671bdf4f60b2f21
diff --git a/build.gradle b/build.gradle
index c2ba298..3da5ae5 100644
--- a/build.gradle
+++ b/build.gradle
@@ -21,6 +21,10 @@
}
} else {
apply plugin: 'com.android.tools.java-library'
+ Project includedProject = it
+ includedProject.plugins.withId('kotlin') {
+ includedProject.plugins.apply('com.android.tools.kotlin')
+ }
}
if (it.name != "compilationTests") {