pakoito
09/04/2017, 9:11 PMdave08
09/05/2017, 1:35 PMEugen Martynov
09/06/2017, 2:23 PMmasc3d
09/07/2017, 4:19 PMgradle-4.1
) sourceSets.main.output.classesDir = new File(buildDir, “classes/main”)
sourceSets.main.kotlin.outputDir = new File(buildDir, “classes/main”)
eriwen
09/08/2017, 8:34 PMefemoney
09/09/2017, 5:28 PMCzar
09/12/2017, 10:19 AMbuild.gradle
and build.gradle.kts
, which file will be used by default (no other configuration is present specifying any of these two files)?mkobit
09/12/2017, 3:54 PMpublishToMavenLocal
and consume from there
test: https://github.com/mkobit/jenkins-pipeline-shared-libraries-gradle-plugin/blob/failing-kotlin-dsl-test/src/test/kotlin/com/mkobit/jenkins/pipelines/IntegrationTestSourceIntegrationTest.kt#L113-L117
build script: https://github.com/mkobit/jenkins-pipeline-shared-libraries-gradle-plugin/blob/failing-kotlin-dsl-test/src/pipelineTestResources/com/mkobit/jenkins/pipelines/IntegrationTestSourceIntegrationTest/Kotlin%20DSL%20extension%20configuration/build.gradle.kts
scan: https://scans.gradle.com/s/keusy27t7l2rmmkobit
09/12/2017, 3:57 PMkotlin-dsl
because it will be easier to track and discuss therehkokocin
09/14/2017, 12:23 PMmaven { url "<https://oss.sonatype.org/content/repositories/snapshots/>" }
in kts ?bamboo
09/14/2017, 1:45 PMhendrik
09/15/2017, 8:59 AMbuildSrc
module. It seems like I can not put code into packages but only plain into src/main/kotlin
? (If I use packages autocompletion in my build script works but when building gradle says it cannot find the stuff impored from my buildSrc
)trubesv
09/16/2017, 12:15 PMmkobit
09/18/2017, 1:41 PMcompile(files("libs/mylib.jar"))
jlleitschuh
09/18/2017, 4:32 PMilya.gorbunov
09/20/2017, 6:26 PMmavenDeployer {
beforeDeployment { MavenDeployment deployment ->
if (signing.required)
signing.signPom(deployment)
}
}
I've heard about the recent improvements about withGroovyBuilder
, but I can't get how to pass that lambda with the single parameter.jlleitschuh
09/21/2017, 4:03 PMpluginManagement
in settings.gradle
be used with apply from: "someKtsFile.gradle.kts"
?bdawg.io
09/24/2017, 4:31 AMkts
file. I don't care about it being available to dependencies, I'm just trying to provide version strings of dependencies for my local build script using the kotlin dslCzar
09/25/2017, 8:50 AMCzar
09/25/2017, 9:26 AMCzar
09/25/2017, 2:06 PMbuildscript
block and other places?
I want to declare kotlinVersion
once and use it throughout the build file. In Groovy Gradle it would've been buildscript { ext.kotlinVersion = "" }
But in kotlin-dsl buildscript { val kotlinVersion by extra { "" } }
does not work, in dependencies
block it is not resolved.napperley
09/27/2017, 3:47 AMCzar
09/27/2017, 7:14 AMfourlastor
09/28/2017, 10:19 AMtasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
it.doFirst {
it.setSource(project.file('build/generated/source/food'))
}
}
this makes it compile correctlymbonnin
09/28/2017, 10:23 AMtask.outputs.dir
is needed actuallymbonnin
09/28/2017, 12:14 PMval action = Action<String> { println(it) }
jordanjennings
09/28/2017, 5:47 PMmbonnin
09/29/2017, 8:49 AM(task("test") as Test?)?.testLogging?.showStandardStreams = true
jlleitschuh
10/01/2017, 5:05 PMmkobit
10/02/2017, 1:57 AMmkobit
10/02/2017, 1:57 AMraulraja
10/02/2017, 3:20 PM