sdeleuze
03/27/2017, 9:34 AMrichardcatlin
03/27/2017, 4:53 PMsuresh
04/02/2017, 10:46 PMoptimize import
action is not working for gsk scripts. Is this a known issue? Couldn't find anything in my search.groostav
04/06/2017, 4:18 AMbamboo
04/08/2017, 12:31 PMethankhall
04/10/2017, 2:03 AMcompileKotlin.getInputs().files(project.files('.').filter { it.name.endsWith('.kt') })
to get the compileKotlin task to recompile when the files have been updatedsuresh
04/12/2017, 12:02 AM1.1.2-eap-69-IJ2017.1-1
) ? gsk script is full of errors now. Right now using 3.5-20170331195952+0000
wrapper version.yoavst
04/12/2017, 10:20 AMmwerschy
04/16/2017, 5:27 PMgradle
, buildscript
, etc). Anything else I need to do to get idea to find those?jlleitschuh
04/21/2017, 2:51 PMsuresh
04/24/2017, 11:05 PMjava
and kotlin
sourcesets (main & test) from gsk ?
val compileJava: JavaCompile by tasks
compileJava.doFirst {
java.sourceSets.asMap.forEach { name, srcSet ->
val ktSrcSet = (srcSet as HasConvention).convention.getPlugin<KotlinSourceSet>()
println("Java-${name.capitalize()} => ${srcSet.allSource.srcDirs.map { it.name }}")
println("Kotlin-${name.capitalize()} => ${ktSrcSet.kotlin.srcDirs.map { it.name }}")
}
}
bamboo
04/26/2017, 5:22 PMbamboo
04/26/2017, 6:05 PMbuildscript
and plugins
blocks as separate scriptsvach
04/26/2017, 7:22 PMwalkinreader
04/26/2017, 7:23 PMPaul Woitaschek
05/01/2017, 6:48 PMalband
05/02/2017, 5:36 PMalband
05/03/2017, 3:21 AMsdeleuze
05/09/2017, 12:15 PMkotlinVersion
between the new plugin { }
block and the dependencies { }
one? (I made quick tries with by extra
but could not make it works)gildor
05/09/2017, 1:29 PMext.kotlin_version = project.plugins.findPlugin("kotlin").properties["kotlinPluginVersion"]
gildor
05/09/2017, 1:32 PMsergei.lebedev
05/12/2017, 9:28 PMtask sourcesJar(type: Jar) {
classifier = 'sources'
from sourceSets.main.allSource
}
mkobit
05/18/2017, 2:48 AM@SamWithReceiver
(dont see it documented on https://kotlinlang.org/docs/reference/compiler-plugins.html )pawel.barszcz
05/21/2017, 12:25 PMcompile
to implementation
(and testCompile
to testImplementation
)? Did I understand gradle output correctly with its deprecation warning?
2. What is the proper configuration to have library in B avaiable in A too? (if A is including B, and as we know from Gradle output, compile
is deprecated)
3. Is there any place where I can read about currently supported configurations and what is the result of using them?rocketraman
05/21/2017, 2:38 PMbuild.gradle
to build.gradle.kts
. Getting the error com.gradle.scan.plugin.BuildScanExtension cannot be cast to com.gradle.scan.plugin.BuildScanExtension
annyce
05/21/2017, 3:33 PMsourceSet
in my build.gradle.kts
but the kotlin
is not being recognized:
val sourceSets = the<JavaPluginConvention>().sourceSets
sourceSets {
"functionalTest" {
kotlin {
srcDir(file("src/functionalTest/kotlin"))
}
resources {
srcDir(file("src/functionalTest/resources"))
}
compileClasspath += sourceSets["main"].output + configurations.testRuntime
runtimeClasspath += output + compileClasspath
}
}
suresh
05/21/2017, 7:58 PMbuild.gradle.kts
file .dagguh
05/22/2017, 4:12 PMconfigurations {
foo
bar
baz
}
to Gradle Kotlin Script?dagguh
05/22/2017, 4:13 PMConfigurationContainer
javadocrocketraman
05/23/2017, 9:02 PMrocketraman
05/23/2017, 9:02 PMannyce
05/24/2017, 2:26 AMCzar
05/24/2017, 7:00 AM