You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't apply the plugin in simple project with Kotlin jvm module:
java.lang.TypeNotPresentException: Type org.jetbrains.kotlin.gradle.dsl.KotlinProjectExtension not present
at org.gradle.api.reflect.TypeOf.captureTypeArgument(TypeOf.java:291)
at org.gradle.api.reflect.TypeOf.<init>(TypeOf.java:97)
at com.autonomousapps.DependencyAnalysisPlugin$configureKotlinJvmProject$1$$special$$inlined$the$1.<init>(TypeOfExtensions.kt:28)
at com.autonomousapps.DependencyAnalysisPlugin$configureKotlinJvmProject$1.execute(DependencyAnalysisPlugin.kt:1076)
at com.autonomousapps.DependencyAnalysisPlugin$configureKotlinJvmProject$1.execute(DependencyAnalysisPlugin.kt:58)
This is actually expected. Fortunately, the solution is very simple. I have just added a FAQ that includes this question (because I get it regularly). Let me know if you have any questions after consulting it. I'm closing this issue for now.
Build scan link
https://scans.gradle.com/s/gde5zkyzhipge/failure#1
Plugin version
0.74.0
Gradle version
6.9
(Optional) Android Gradle Plugin (AGP) version
no AGP
Describe the bug
Can't apply the plugin in simple project with Kotlin jvm module:
To Reproduce
Steps to reproduce the behavior:
./gradlew :library:projectHealth
Expected behavior
Task executes without error or plugin explains what is wrong with the project.
Additional context
The text was updated successfully, but these errors were encountered: