-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
58 lines (50 loc) · 1.86 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
56
57
58
plugins {
id("org.jetbrains.kotlin.jvm") version "1.9.20"
id("org.jetbrains.kotlin.plugin.allopen") version "1.9.20"
id("com.google.devtools.ksp") version "1.9.20-1.0.14"
id("com.github.johnrengelman.shadow") version "8.1.1"
id("io.micronaut.application") version "4.2.0"
}
version = "0.1"
group = "com.example"
val kotlinVersion=project.properties.get("kotlinVersion")
repositories {
mavenLocal()
mavenCentral()
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/norganos/aoc-utils")
credentials {
username = project.findProperty("github.registry.user")?.toString() ?: System.getenv("GITHUB_ACTOR") ?: "nobody"
password = project.findProperty("github.registry.key")?.toString() ?: System.getenv("GITHUB_TOKEN") ?: "none"
}
}
}
dependencies {
ksp("info.picocli:picocli-codegen")
ksp("io.micronaut.serde:micronaut-serde-processor")
implementation("info.picocli:picocli")
implementation("io.micronaut.kotlin:micronaut-kotlin-runtime")
implementation("io.micronaut.picocli:micronaut-picocli")
implementation("io.micronaut.serde:micronaut-serde-jackson")
implementation("org.jetbrains.kotlin:kotlin-reflect:${kotlinVersion}")
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk8:${kotlinVersion}")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.0-RC2")
implementation("de.linkel.aoc:aoc-utils:1.0.5")
runtimeOnly("ch.qos.logback:logback-classic")
runtimeOnly("com.fasterxml.jackson.module:jackson-module-kotlin")
testImplementation("org.assertj:assertj-core:3.24.2")
}
application {
mainClass.set("de.linkel.aoc.Main")
}
java {
sourceCompatibility = JavaVersion.toVersion("17")
}
micronaut {
testRuntime("junit5")
processing {
incremental(true)
annotations("com.example.*")
}
}