https://kotlinlang.org logo
#announcements
Title
# announcements
c

Czar

08/21/2017, 1:16 PM
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

michaelzinn

08/21/2017, 1:30 PM
I had similar sounding problems, the solution was to change the version in multiple places.
afk, sorry.
k

karelpeeters

08/21/2017, 1:32 PM
Does the build itself fail, or the Idea integration?
c

Czar

08/21/2017, 1:41 PM
@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

karelpeeters

08/22/2017, 8:17 AM
c

Czar

08/22/2017, 8:38 AM
@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.