After update to kotlin 1.1.4, my gradle build (gro...
# announcements
c
After update to kotlin 1.1.4, my gradle build (groovy based) fails with following
Task with path 'copyMainKotlinClasses' not found in project
. In
build.gradle
I have:
Copy code
// groovy code should have access to kotlin classes for things like blablabla to work
tasks.compileGroovy.dependsOn 'copyMainKotlinClasses'
// and also for tests
tasks.compileTestGroovy.dependsOn 'copyTestKotlinClasses'
Gradle version: 4.0.1
I do not see anything related in the changelog 😕
m
I had similar sounding problems, the solution was to change the version in multiple places.
afk, sorry.
k
Does the build itself fail, or the Idea integration?
c
@michaelzinn I ensured that I only have to change version in one place @karelpeeters both fail
@ JB guys, did someone rename these tasks without putting it into RN? 🙂
This problem prevents update to 1.1.4 for us. Kittens are crying 😿
😿 1
k
c
@karelpeeters for me that would be a downgrade, the problem is due to changes introduced in kt 1.1.4 for gradle 4.0, I'm running gradle 4.0.1 Also the SO link points to a problem completely different from mine.