iammini5
12/03/2019, 6:53 AMeskatos
12/03/2019, 8:58 AMiammini5
12/03/2019, 10:39 AMeskatos
12/03/2019, 10:55 AMeskatos
12/03/2019, 10:56 AMiammini5
12/03/2019, 10:57 AMeskatos
12/03/2019, 11:04 AMCasey Brooks
12/03/2019, 3:44 PMbuildSrc
without the need for multiple repositories/builds https://docs.gradle.org/current/userguide/organizing_gradle_projects.html#sec:build_sourcesiammini5
12/03/2019, 10:50 PMCasey Brooks
12/03/2019, 11:05 PMbuildSrc/build.gradle.kts
with
plugins {
`kotlin-dsl`
}
repositories {
jcenter()
}
dependencies {
compile("org.yaml:snakeyaml:1.25")
}
adds SnakeYaml to the plugin classpath, and you can use that library from buildscript code in buildSrc/src/main/kotlin
, and also from any of the normal Gradle scripts in your project. It’s effectively the same as an “included build”, but it’s already set up and available without any additional configuration/repos in every Gradle project.iammini5
12/03/2019, 11:16 PMeskatos
12/04/2019, 7:09 AMbuildSrc
is just a Gradle build so it supports the same