Questions tagged [build.gradle.kts]
3 questions
4
votes
1 answer
Gradle KTS. How to move dependencies configuration to a separate file from main build?
I'm trying to create modular build script in kotlin. Basically main script and dependencies script. in the build.gradle.kts I have:
applyFrom("dependencies.kts")
and in dependencies.kts I have the actual dependencies:
dependencies {
listOf(
…

Czar
- 1,633
- 2
- 17
- 32
2
votes
0 answers
Configure App Engine Gradle Plugin with Kotlin Script
I'm trying to use Gradle Script Kotlin to configure the build on my App Engine project but cannot figure out how to set the cloudSdkHome property (or any configuration of the plugin at all!)
In a groovy gradle script this is done something like…

Dev Vercer
- 166
- 1
- 7
0
votes
1 answer
How do you change the default Gradle wrapper and build file in IntelliJ?
I'm trying to switch over to Gradle Kotlin DSL from vanilla Gradle for all my IntelliJ/Kotlin projects. This requires me to specify the distributionUrl property in a Gradle wrapper task of the build file. However whenever I create a Gradle project…

Pavan P
- 645
- 8
- 17