Grease icon indicating copy to clipboard operation
Grease copied to clipboard

Failing to compile after applying plugin

Open peppercat10 opened this issue 3 years ago • 3 comments

Hi. I'm trying to use Grease on a default KMM project. Once I apply the plugin and sync, I get the following error:

Caused by: java.lang.NoSuchMethodError: 'org.gradle.api.file.FileCollection com.android.build.gradle.internal.tasks.MergeFileTask.getInputFiles()'

Do you have any idea what might be happening? Thanks

peppercat10 avatar Sep 28 '21 13:09 peppercat10

What gradle version are you using? The plugin is not up to date with dependencies, I'll do this. In the mean time, having the full stacktrace for your error would help!

natario1 avatar Sep 28 '21 13:09 natario1

Gradle version: 7.0.2 Stacktrace: https://gist.github.com/peppercat10/795488d9663082c81f8d8a325e4fd0b6

Thanks for looking into this!

peppercat10 avatar Sep 28 '21 13:09 peppercat10

Facing same issue Caused by: java.lang.NoSuchMethodError: 'org.gradle.api.file.FileCollection com.android.build.gradle.internal.tasks.MergeFileTask.getInputFiles()' at io.deepmedia.tools.grease

DastanIqbal avatar Dec 14 '22 21:12 DastanIqbal

Should be fixed in latest version.

natario1 avatar Aug 25 '24 18:08 natario1