Samyak Jain
06/13/2020, 3:57 PM* Where:
Build file '/home/samyak/gsoc/kotlin/kotlin-1.3.30/kotlin-1.3.30/prepare/compiler-embeddable/build.gradle' line: 30
* What went wrong:
A problem occurred evaluating project ':kotlin-compiler-embeddable'.
> No signature of method: static EmbeddableKt.compilerDummyForDependenciesRewriting() is applicable for argument types: (java.lang.String, build_3iru8x0j1kdz5fc4ppmd4bywe$_run_closure2) values: [compilerDummy, build_3iru8x0j1kdz5fc4ppmd4bywe$_run_closure2@51ac48b3]
Possible solutions: compilerDummyForDependenciesRewriting(org.gradle.api.Project, java.lang.String, kotlin.jvm.functions.Function1)
* Try:
Run with --debug option to get more log output. Run with --scan to get full insights.
I'm not able to debug this bit, any help is appreciated.no
06/13/2020, 10:25 PMcompilerDummyForDependenciesRewriting(String, closure)
,
you should call
compilerDummyForDependenciesRewriting(Project, String, closure)
i.e., you are missing the first argument, project, when calling that functionSamyak Jain
06/14/2020, 11:29 AMEmbeddableKt.compilerDummyJar(project, jar, EmbeddableKt.compilerDummyForDependenciesRewriting(project, "compilerDummy") {
it.classifier = "dummy"
})
It throws error:
> No signature of method: static EmbeddableKt.compilerDummyJar() is applicable for argument types: (org.gradle.api.internal.project.DefaultProject_Decorated, org.gradle.api.tasks.bundling.Jar_Decorated, com.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar_Decorated) values: [project ':kotlin-compiler-embeddable', task ':kotlin-compiler-embeddable:jar', ...]
Possible solutions: compilerDummyJar(org.gradle.api.Project, org.gradle.jvm.tasks.Jar, kotlin.jvm.functions.Function1)
Samyak Jain
06/14/2020, 11:58 AMSamyak Jain
06/14/2020, 11:59 AMno
06/15/2020, 4:23 AMcom.github.jengelman.gradle.plugins.shadow.tasks.ShadowJar_Decorated
instead of kotlin.jvm.functions.Function1
from what the error message says.