-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
53 lines (45 loc) · 1.15 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
42
43
44
45
46
47
48
49
50
51
52
53
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.7.20'
id 'org.jetbrains.dokka' version "1.+"
id("com.glovoapp.semantic-versioning") version "1.+"
}
group = 'com.github.samunohito'
repositories {
mavenCentral()
}
dependencies {
implementation 'ch.qos.logback:logback-classic:1.4.8'
testImplementation 'org.jetbrains.kotlin:kotlin-test'
}
test {
useJUnitPlatform()
}
compileKotlin {
kotlinOptions.jvmTarget = '1.8'
}
compileTestKotlin {
kotlinOptions.jvmTarget = '1.8'
}
dokkaHtml.configure {
String dokkaBaseConfiguration = """
{
"projectName": "mfm.kt",
"footerMessage": "(c) 2023 samunohito"
}
"""
pluginsMapConfiguration.set(
// fully qualified plugin name to json configuration
["org.jetbrains.dokka.base.DokkaBase": dokkaBaseConfiguration]
)
dokkaSourceSets {
configureEach {
sourceRoots.from(file("api/src/main/kotlin"))
documentedVisibilities.set(
setOf(
Visibility.PUBLIC,
Visibility.PROTECTED,
)
)
}
}
}