We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dfdd202 commit 56e1c9bCopy full SHA for 56e1c9b
buildSrc/build.gradle.kts
@@ -1,11 +1,27 @@
1
+import java.util.*
2
+
3
plugins {
4
`kotlin-dsl`
5
}
6
7
repositories {
8
gradlePluginPortal()
9
+ maven("https://kotlin.bintray.com/kotlin-eap")
10
+ maven("https://kotlin.bintray.com/kotlin-dev")
11
12
13
kotlinDslPluginOptions {
14
experimentalWarning.set(false)
15
16
17
+val props = Properties().apply {
18
+ file("../gradle.properties").inputStream().use { load(it) }
19
+}
20
21
+fun version(target: String): String =
22
+ props.getProperty("${target}_version")
23
24
+dependencies {
25
+ implementation(kotlin("gradle-plugin", version("kotlin")))
26
+ implementation("org.jetbrains.dokka:dokka-gradle-plugin:${version("dokka")}")
27
0 commit comments