-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
44 lines (35 loc) · 1.11 KB
/
build.gradle.kts
File metadata and controls
44 lines (35 loc) · 1.11 KB
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
// region [[Basic Root Build Imports and Plugs]]
import pl.mareklangiewicz.defaults.*
import pl.mareklangiewicz.utils.*
import pl.mareklangiewicz.deps.*
plugins {
plug(plugs.KotlinMulti) apply false
plug(plugs.KotlinJvm) apply false
}
// endregion [[Basic Root Build Imports and Plugs]]
val enableJs = true
val enableNative = true
defaultBuildTemplateForRootProject(
myLibDetails(
name = "SMokK",
description = "A bit scary library for mocking suspendable functions in Kotlin :-)",
githubUrl = "https://github.com/langara/SMokK",
version = Ver(0, 0, 10),
// https://central.sonatype.com/artifact/pl.mareklangiewicz/smokk/versions/
// https://github.com/mareklangiewicz/SMokK/releases
settings = LibSettings(
withJs = enableJs,
withNativeLinux64 = enableNative,
compose = null,
withSonatypeOssPublishing = true,
),
),
)
// region [[Root Build Template]]
fun Project.defaultBuildTemplateForRootProject(details: LibDetails? = null) {
details?.let {
rootExtLibDetails = it
defaultGroupAndVerAndDescription(it)
}
}
// endregion [[Root Build Template]]