我得到了下面的錯誤當科特林1.1.2-4編譯,但循環依賴不是1.1.2-3
* What went wrong:
Circular dependency between the following tasks:
:app:compileProductionDebugKotlin
\--- :app:kaptProductionDebugKotlin
\--- :app:compileProductionDebugKotlin (*)
(*) - details omitted (listed previously)
當我使用科特林版本1.1.2-4(好吧,當我使用1.1.2-3)。
在我的應用程序的build.gradle我有以下
apply plugin: 'com.android.application'
apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions'
apply plugin: 'kotlin-kapt'
當我刪除kotlin-kapt
,它編譯罰款。
我做錯了什麼,或者這是一個Kotlin錯誤?
在1.1.2-5中修復。在-4上發生在我身上,在降級到-3後解決。 –