https://kotlinlang.org logo
#android
Title
# android
l

Lilly

06/12/2020, 3:40 PM
Does someone know where I can find the release notes for the android gradle plugin version 4.2.0-alpha01. I have a buildSrc folder and since I updated to this version the task
:buildSrc:generatePrecompiledScriptPluginAccessors
fails with the message "Caused by: org.gradle.api.plugins.InvalidPluginException: An exception occurred applying plugin request [id: 'android']" and a lot of other errors. I'm using AS 4.2 C1, when I switch AGP back to version 4.1.0-beta01 it runs the task properly. Are there any breaking changes in the new AGP version?
j

Javier

06/12/2020, 3:52 PM
I had the same problem and I created my own extension functions to avoid this problem
l

Lilly

06/12/2020, 3:57 PM
Thats smart. Thanks for sharing!
👍 1
I still get the error "An exception occurred applying plugin request [id: 'com.android.application']". Do you have an idea what I missed?
ok got it. @Javier Do you know how I can resolve
kotlinOptions
within the
android
block?
j

Javier

06/12/2020, 5:28 PM
I think I did in some of my projects but I don't remember where
2 Views