generated from TomPlum/advent-of-code-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
46 lines (38 loc) · 997 Bytes
/
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
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath(kotlin("gradle-plugin", version = "1.9.21"))
}
}
plugins {
idea
kotlin("jvm") version "1.9.21"
}
allprojects {
group = "io.github.tomplum"
version = "1.0.0"
apply(plugin = "kotlin")
repositories {
mavenCentral()
maven {
url = uri("https://maven.pkg.github.com/tomplum/advent-of-code-libs")
credentials {
username = "TomPlum"
password = System.getenv("GITHUB_PACKAGE_REGISTRY_KEY")
}
}
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
implementation(kotlin("reflect"))
implementation("io.github.tomplum:advent-of-code-libs:2.4.1") {
exclude("org.slf4j", "slf4j-api")
}
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "18"
}
}