<@U0CP8EBRV> I had problems with `java` being not ...
# gradle
c
@Czar I had problems with
java
being not recognised, finally I manage to do this in following way:
Copy code
configure<JavaPluginConvention> {
    sourceSets[SourceSet.MAIN_SOURCE_SET_NAME].java {
        srcDir("src/main/kotlin")
    }
}
1 reply kasper.kondzielski:
Copy code
plugins {
    java // so we can benefit from the `java` accessor below
}