-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathbuild.gradle.kts
More file actions
48 lines (41 loc) · 1.51 KB
/
build.gradle.kts
File metadata and controls
48 lines (41 loc) · 1.51 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
45
46
47
48
// copied from kobweb
plugins {
alias(libs.plugins.kotlin.multiplatform) apply false
alias(libs.plugins.kotlin.jvm) apply false
`kotlin-dsl` apply false
alias(libs.plugins.kotlinx.serialization) apply false
}
group = "com.sunya.netchdf"
version = libs.versions.netchdf.get()
subprojects {
repositories {
mavenCentral()
google()
}
}
// To upgrade gradle, bump the version below and run the wrapper task:
// ./gradlew wrapper
//
// Note: you should run the task twice when upgrading - once to update
// the wrapper files, and the second time to actually download
// and use the new version.
tasks.wrapper {
distributionType = Wrapper.DistributionType.BIN
gradleVersion = "8.14"
}
tasks {
withType<Test>().all {
useJUnitPlatform()
minHeapSize = "512m"
maxHeapSize = "8g"
jvmArgs = listOf("-Xss128m")
// Make tests run in parallel
// More info: https://www.jvt.me/posts/2021/03/11/gradle-speed-parallel/
systemProperties["junit.jupiter.execution.parallel.enabled"] = "true"
systemProperties["junit.jupiter.execution.parallel.mode.default"] = "concurrent"
systemProperties["junit.jupiter.execution.parallel.mode.classes.default"] = "concurrent"
systemProperty("kotest.framework.discovery.jar.scan.disable", "true")
systemProperty("kotest.framework.classpath.scanning.config.disable", "true")
systemProperty("kotest.framework.classpath.scanning.autoscan.disable", "true")
}
}