-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
54 lines (49 loc) · 1.53 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
/*
* This file was generated by the Gradle 'init' task.
*
* This project uses @Incubating APIs which are subject to change.
*/
plugins {
kotlin("jvm") version "1.7.21"
id("org.jlleitschuh.gradle.ktlint") version "10.2.0"
}
repositories {
mavenLocal()
maven {
url = uri("https://repo.maven.apache.org/maven2/")
}
}
// sourceSets {
// val commonTest by getting {
// dependencies {
// implementation(kotlin("test"))
// }
// }
// }
sourceSets {
getByName("main").java.srcDirs("main/")
getByName("test").java.srcDirs("test/")
}
dependencies {
implementation(kotlin("stdlib"))
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.6.0")
implementation("org.reflections:reflections:0.10.2")
implementation("com.squareup.okhttp3:okhttp:4.9.2")
implementation("org.jetbrains.kotlin:kotlin-reflect:1.6.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.5.2-native-mt")
testImplementation("org.junit.jupiter:junit-jupiter-api:5.8.2")
testImplementation("org.junit.jupiter:junit-jupiter-params:5.8.2")
// testImplementation(kotlin("test"))
testImplementation("org.jetbrains.kotlin:kotlin-test-junit5")
}
group = "me.reckter"
version = "1.0-SNAPSHOT"
description = "aoc2022"
tasks.test {
minHeapSize = "1024m" // initial heap size
maxHeapSize = "4096m" // maximum heap size
val etags = System.getProperty("excludeTags") ?: "no-tag-given"
useJUnitPlatform {
excludeTags = etags.split(",").toMutableSet()
}
}