https://kotlinlang.org logo
#kapt
Title
# kapt
r

Robert

01/15/2022, 8:21 AM
Hey. can someone help to to understand what that means:
implementation fileTree(dir: "lib", include: "*.jar")
Copy code
Execution failed for task ':kaptKotlin'.
> Could not resolve all files for configuration ':_classStructurekaptKotlin'.
   > Failed to transfor Some.jar to match attributes {artifactType=class-structure, org.gradle.libraryelements=jar, org.gradle.usage=java-runtime}.
      > Execution failed for StructureTransformAction: /lib/some.jar.
         > java.lang.IllegalArgumentException (no error message)
Is this a gradle or kapt issue?
🎉 1
solved it, problem was different JDK / compiler versions https://youtrack.jetbrains.com/issue/KT-50818
32 Views