jlleitschuh
06/22/2017, 2:15 PMproject.properties
for properties.jlleitschuh
06/22/2017, 2:16 PMmadorb
06/22/2017, 2:49 PMmadorb
06/22/2017, 2:50 PMjlleitschuh
06/22/2017, 2:51 PMjlleitschuh
06/22/2017, 2:52 PMgildor
06/23/2017, 2:51 AMdagguh
06/23/2017, 6:46 PM:compileTestKotlin
started failing, because it doesn't see classes compiled by :compileKotlin
Did you encounter the same issue?dagguh
06/23/2017, 7:04 PMval mainCompilation = tasks["compileKotlin"] as KotlinCompile
val testCompilation = tasks["compileTestKotlin"] as KotlinCompile
testCompilation.classpath = testCompilation.classpath.plus(files(mainCompilation.destinationDir))
dagguh
06/23/2017, 7:22 PM:test
stopped working:
Skipping task ':test' as it has no source files and no previous output files.
I'm trying various fixes.dagguh
06/23/2017, 7:24 PMPlugins, tasks or builds that used hardcoded paths may fail.
suresh
06/23/2017, 7:31 PMkotlin("jvm")
plugin. Seems it’s not working any more
plugins {
kotlin("jvm", "1.1.3")
}
dependencies {
compile(kotlin("stdlib-jre8"))
compile("io.airlift:airline:0.7")
}
runtime - Runtime dependencies for source set 'main' (deprecated, use 'runtimeOnly ' instead).
+--- org.jetbrains.kotlin:kotlin-stdlib-jre8:1.1.2-5
| \--- org.jetbrains.kotlin:kotlin-stdlib-jre7:1.1.2-5
| \--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2-5
| \--- org.jetbrains:annotations:13.0
+--- io.airlift:airline:0.7
| +--- javax.inject:javax.inject:1
| +--- com.google.code.findbugs:annotations:2.0.3
| \--- com.google.guava:guava:18.0
+--- org.jetbrains.kotlin:kotlin-stdlib:1.1.2-5 (*)
\--- org.jetbrains.kotlin:kotlin-reflect:1.1.2-5
dagguh
06/23/2017, 7:32 PMtasks["compileKotlin"].outputs.dir(File(buildDir, "classes/main"))
tasks["compileTestKotlin"].outputs.dir(File(buildDir, "classes/test"))
dagguh
06/23/2017, 7:32 PMtasks["compileKotlin"].outputs.dir(File(buildDir, "classes/main"))
tasks["compileTestKotlin"].outputs.dir(File(buildDir, "classes/test"))
gildor
06/24/2017, 3:23 PMbamboo
06/24/2017, 3:25 PMnapperley
06/26/2017, 3:34 AMwasyl
06/26/2017, 10:24 AM./gradlew wrapper --gradle-version=4.0 --distribution-type=all
Czar
06/26/2017, 11:22 AMplugins {
base
...
}
But the documentation link says there is no such thing. (https://docs.gradle.org/current/userguide/base_plugin.html) what is the base plugin and why is it in kotlin samples?hastebrot
06/26/2017, 2:18 PMnapperley
06/28/2017, 6:30 AMnapperley
06/28/2017, 11:44 PMbulwinkel
06/29/2017, 3:33 AMgildor
06/29/2017, 3:43 AMtasks {
"run"(JavaExec::class) {
args = listOf("a", "b", "c")
}
}
//or
val run: JavaExec by tasks
run.args = listOf("a", "b", "c")
deviant
06/29/2017, 1:32 PMhttp://i.imgur.com/dc3cqXh.png▾
Error:Internal error: unable to compile script, see log for details
does anybody expect same issue on AS 3.0 p4?jlleitschuh
06/29/2017, 1:44 PM