Encode all compiler plugin arguments for Android Extensions in kapt
Commas in option values breaks the option parsing in daemon (KT-20235).
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
-d
|
||||
$TEMP_DIR$
|
||||
-Xplugin=dist/kotlinc/lib/android-extensions-compiler.jar
|
||||
-P
|
||||
plugin\:org.jetbrains.kotlin.android\:package=com.myapp
|
||||
$TESTDATA_DIR$/pluginSimple.kt
|
||||
$TESTDATA_DIR$/androidPlugin/androidApp.kt
|
||||
$TESTDATA_DIR$/androidPlugin/androidView.kt
|
||||
$TESTDATA_DIR$/androidPlugin/androidWidget.kt
|
||||
$TESTDATA_DIR$/androidPlugin/fakeAppwidgetPackage.kt
|
||||
$TESTDATA_DIR$/androidPlugin/fakeInputMethodServicePackage.kt
|
||||
$TESTDATA_DIR$/androidPlugin/fakeOpenglPackage.kt
|
||||
$TESTDATA_DIR$/androidPlugin/fakeWebkitPackage.kt
|
||||
@@ -1,8 +0,0 @@
|
||||
import android.view.*
|
||||
import android.app.*
|
||||
import android.widget.*
|
||||
import kotlinx.android.synthetic.main.layout.*
|
||||
|
||||
class MyActivity : Activity() {
|
||||
{ textView.setText("Some text") }
|
||||
}
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
error: required plugin option not present: org.jetbrains.kotlin.android:variant
|
||||
|
||||
Plugin "org.jetbrains.kotlin.android" usage:
|
||||
variant <name;path> Android build variant (required, multiple)
|
||||
package <fq name> Application package (required)
|
||||
experimental true/false Enable experimental features
|
||||
defaultCacheImplementation hashMap/sparseArray/none
|
||||
Default cache implementation for module
|
||||
|
||||
COMPILATION_ERROR
|
||||
Reference in New Issue
Block a user