-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
55 lines (48 loc) · 1.44 KB
/
build.gradle.kts
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
54
55
/**
* Copyright (c) 2022 by Kristoffer Paulsson <[email protected]>.
*
* This software is available under the terms of the MIT license. Parts are licensed
* under different terms if stated. The legal terms are attached to the LICENSE file
* and are made available on:
*
* https://opensource.org/licenses/MIT
*
* SPDX-License-Identifier: MIT
*
* Contributors:
* Kristoffer Paulsson - initial implementation
*/
group = MetaProject.group
version = MetaProject.version
plugins {
id("org.jetbrains.kotlinx.kover") version MetaProject.koverVersion
id("com.github.nbaztec.coveralls-jacoco") version MetaProject.coverallsVersion
id("project-publish-setup")
}
allprojects {
repositories {
mavenCentral()
}
}
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath(MetaProject.kotlinLibrary)
classpath(MetaProject.dokkaLibrary)
}
}
// Must be executed globally separate before publishing.
/*tasks.dokkaHtmlMultiModule.configure {
outputDirectory.set(buildDir.resolve("dokkaCustomMultiModuleOutput"))
}*/
coverallsJacoco {
reportPath = "$projectDir/build/reports/kover/report.xml"
reportSourceSets = listOf(
File("$projectDir/buffer/src/commonMain/kotlin/"),
File("$projectDir/buffer/src/jvmMain/kotlin/"),
File("$projectDir/buffer/src/jsMain/kotlin/"),
File("$projectDir/buffer/src/nativeMain/kotlin/"),
)
}