henrik
09/27/2019, 7:05 AMtasks {
val moduleTest by existing(Test::class) {
setForkEvery(1)
}
}
I'm not able to navigate to the Test
class or to setForkEvery
, and I don't get a list of other methods are available besides setForkEvery
. Is there anything I can do to improve the situation?GarouDan
09/27/2019, 7:40 AMGarouDan
09/27/2019, 7:41 AMhenrik
09/27/2019, 7:48 AMtapchicoma
09/27/2019, 8:23 AMbin
or all
?GarouDan
09/27/2019, 8:33 AMcompile("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
GarouDan
09/27/2019, 8:34 AMgradlePluginPortal()
henrik
09/27/2019, 9:06 AMall
henrik
09/27/2019, 9:15 AMkotlin-gradle-plugin
to buildSrc dependencies didn't help. And I've already got gradlePluginPortal()
in buildscript
GarouDan
09/27/2019, 10:08 AM.../.gradle/caches/transforms-2/files-2.1/.../unzipped-distribution/gradle-5.6.2/subprojects/testing-jvm/src/main/java/org/gradle/api/tasks/testing/Test.java
If yes I can navigate to ithenrik
09/27/2019, 3:35 PMunzipped-distribution
anywhere in ~/.gradle/caches/
henrik
09/27/2019, 3:40 PM~/.gradle/caches/transforms-2/files-2.1/
is emptyGarouDan
09/27/2019, 4:27 PM~/gradle/
and then use the proper autocompletion. This is my guesshenrik
09/27/2019, 6:46 PMplugins {
`kotlin-dsl`
}
... in buildSrc/build.gradle.kts
, and .. buildscript {
dependencies {
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.3.50")
...
}
}
apply(plugin = "kotlin")
dependencies {
compile("org.jetbrains.kotlin:kotlin-stdlib:1.3.50")
compile("org.jetbrains.kotlin:kotlin-stdlib-jdk8:1.3.50")
...
}
... in my regular build.gradle.kts
Shouldn't that be sufficient?
I guess I should create a demo project, this is a pretty large multiproject build with loads of gradle config (also mixed groovy/kotlin config at the time being)henrik
10/01/2019, 7:42 AMhenrik
10/01/2019, 7:43 AM