-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
47 lines (42 loc) · 1.69 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
plugins {
id 'java'
id 'org.jetbrains.kotlin.jvm' version '2.1.0'
}
version '1.0-SNAPSHOT'
repositories {
mavenCentral()
}
sourceSets {
main.java.srcDirs += 'src/main'
main.resources.srcDirs += 'src/main/resources'
test.java.srcDirs += 'src/test/aoc2015'
test.java.srcDirs += 'src/test/aoc2016'
test.java.srcDirs += 'src/test/aoc2017'
test.java.srcDirs += 'src/test/aoc2018'
test.java.srcDirs += 'src/test/aoc2019'
test.java.srcDirs += 'src/test/aoc2020'
test.java.srcDirs += 'src/test/aoc2021'
test.java.srcDirs += 'src/test/aoc2022'
test.java.srcDirs += 'src/test/aoc2023'
test.java.srcDirs += 'src/test/aoc2024'
test.java.srcDirs += 'src/test/common'
test.resources.srcDirs += 'src/test/resources'
}
dependencies {
implementation 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.0'
implementation 'org.jetbrains.kotlinx:kotlinx-coroutines-core:1.9.0'
testImplementation group: 'junit', name: 'junit', version: '4.13.1'
implementation 'org.magicwerk.brownies:brownies-collections:0.9.23'
implementation "com.marcinmoskala:DiscreteMathToolkit:1.0.3"
implementation 'com.github.kittinunf.fuel:fuel:2.3.1' // For downloading input file
implementation 'com.github.kittinunf.result:result:3.1.0' // Needed for Fuel
implementation 'com.sksamuel.scrimage:scrimage-core:4.2.0' // For visualizations
implementation 'com.google.crypto.tink:tink:1.15.0'
}
// https://discuss.gradle.org/t/gradle-7-fail-for-duplicates-in-copy-specs-has-no-duplicates-in-project/39834/9
rootProject.tasks.named("processTestResources") {
duplicatesStrategy = 'include'
}
rootProject.tasks.named("processResources") {
duplicatesStrategy = 'include'
}