what is `kotlin-gradle-plugin` ? <https://mvnrepos...
# gradle
r
what is
kotlin-gradle-plugin
? https://mvnrepository.com/artifact/org.jetbrains.kotlin/kotlin-gradle-plugin I can’t find sort of documentation of it….
r
r
@Rob Elliot Hi Rob! But i can’t find ‘kotlin-gradle-plugin’ information. What does this library do?
actually, my problem is another one though…
kotlin scripting plugin: applied in the non-supported environment (error received: Cannot query the value of task ‘:compileQuerydslKotlin’ property ‘sourceSetName$kotlin_gradle_plugin’ because it has no value available.)
I’m facing this issue. I can’t build my gradle (spring) project after I added querydsl dependencies…
t
This artifact is Kotlin Gradle Plugin that applied in Gradle builds...
r
The
kotlin-gradle-plugin
jar (it’s not really a library as such…) is the Gradle Plugin that allows Gradle to support Kotlin. It’s what gets applied to your project when you put this in build.kts:
Copy code
plugins {
    kotlin("jvm") version "1.6.0"
}
The page I linked to is the documentation on how to use it in a gradle script. I know nothing about
querydsl
or how you got a
compileQuerydslKotlin
task.
r
I understand. Thank you guys !!
p
Well it also is a library. If you want to configure your project from a precopiled script you actually need to apply it as a library to get it into your classpath
r
seems a hard work 😲
111 Views