buildSrc: move plugin dependencies to Dependencies.kt

Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
This commit is contained in:
Harsh Shandilya 2021-02-01 18:42:19 +05:30
parent 2a4c58a680
commit df1db3d0ff
No known key found for this signature in database
GPG key ID: 366D7BBAD1031E80
5 changed files with 36 additions and 41 deletions

View file

@ -0,0 +1,21 @@
plugins {
`kotlin-dsl`
}
repositories {
mavenCentral()
google()
gradlePluginPortal()
}
kotlinDslPluginOptions {
experimentalWarning.set(false)
}
// force compilation of Dependencies.kt so it can be referenced in buildSrc/build.gradle.kts
sourceSets.main {
java {
setSrcDirs(setOf(projectDir.parentFile.resolve("src/main/java")))
include("Dependencies.kt")
}
}