Skip to content

Commit

Permalink
Fix SKIE Gradle Shim loading.
Browse files Browse the repository at this point in the history
  • Loading branch information
FilipDolnik committed May 7, 2024
1 parent 2456eaf commit b165092
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ object KgpShimLoader {

val shimClass = loadShimClass(childClassLoader) ?: return null

return shimClass.getConstructor().newInstance(this) as KgpShim
return shimClass.getConstructor(Project::class.java).newInstance(project) as KgpShim
}

private fun Project.createClassLoaderForShimClass(shimImplJar: Set<File>): ClassLoader {
Expand Down

0 comments on commit b165092

Please sign in to comment.