Is anyone else running into an issue where using t...
# gradle
e
Is anyone else running into an issue where using the
kotlin-android
plugin results in the following error but the build completes successfully:
Copy code
Failed to apply plugin [id 'org.jetbrains.kotlin.android']
   > Extension with name 'android' does not exist. Currently registered extension names: [ext, kotlin]
Happening in:
Copy code
Gradle: 7.0 and 7.0.1
Android Gradle Plugin: 4.2.0 and 7.0.0.-alpha15
Kotlin: 1.5.0
https://youtrack.jetbrains.com/issue/KT-25081#focus=Comments-27-4886389.0-0
t
please open a new issue in the tracker. Perfectly would be to attach project that reproduces the issue
e
I will open a new issue. I'll try to repro the issue in a clean project, but I can't attach the one where it currently happens.
t
I will try to reproduce it tomorrow
🙏 1
e
@tapchicoma were you able to repro it? If not, is there anything I can provide that would help with that?
t
sorry, was on short vacation. Regarding your issue - I've updated AGP version in tests to the latest canary and they are all passing without error with Gradle 7. Tomorrow I will try to reproduce your issue in some test project, but it would be really helpful if you could provide some project that reproduces it.
e
I think it might be happening here (not 100% sure) https://github.com/detekt/detekt/pull/3718 If not I'll try to get a repro project together this week.
Looks like it's not happening there. I'll make a repro project
t
reproduced 👍 Will try to fix it for 1.5.20 release
e
Thanks!