-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (36 loc) · 1.24 KB
/
build.gradle
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
buildscript {
ext {
def customProperties = new Properties()
def customPropertiesURL = new URL("$PROPERTIES")
def customPropertiesStream = customPropertiesURL.openStream()
customProperties.load(customPropertiesStream)
customProperties.each { key, value -> set(key, value) }
apply from: "$COMMON_SETUP"
}
}
plugins {
id "org.jetbrains.kotlin.jvm" version "$KOTLIN_VERSION"
id "org.jetbrains.kotlin.kapt" version "$KOTLIN_VERSION" apply false
id "org.jlleitschuh.gradle.ktlint" version "$KTLINT_GRADLE_VERSION"
id "org.jetbrains.dokka" version "$DOKKA_VERSION"
}
apply from: "$ROOT_PROJECT"
subprojects {
repositories {
maven { url 'https://dl.bintray.com/jannis/kotlin-pretty' }
maven { url 'https://dl.bintray.com/jannis/kparsec' }
}
dokka {
outputFormat = 'jekyll'
outputDirectory = "${rootDir}/build/apidocs"
configuration {
includes = ['README.md']
reportUndocumented = false
sourceLink {
path = "src/main/kotlin"
url = "https://github.com/arrow-kt/arrow/blob/main/${relativeProjectPath('src/main/kotlin')}"
lineSuffix = "#L"
}
}
}
}