-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle.kts
65 lines (53 loc) · 1.67 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
59
60
61
62
63
64
65
import com.vanniktech.maven.publish.SonatypeHost
plugins {
kotlin("jvm") version "1.9.24"
id("org.jetbrains.kotlin.jupyter.api") version "0.12.0-339"
id("com.vanniktech.maven.publish") version "0.30.0"
}
repositories {
mavenCentral()
}
kotlinJupyter {
addApiDependency()
}
dependencies {
implementation("it.skrape:skrapeit:1.2.2")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.8.1")
testImplementation(kotlin("test"))
}
tasks.test {
useJUnitPlatform()
}
kotlin {
jvmToolchain(17)
}
mavenPublishing {
coordinates(artifactId = property("artifactId") as String)
publishToMavenCentral(SonatypeHost.CENTRAL_PORTAL)
pom {
name.set("Advent of Code Kotlin Notebook")
description.set("Solve Advent of Code interactively, without leaving your IDE, with Kotlin Notebook!")
inceptionYear.set("2024")
url.set("https://github.com/Toldoven/aoc-kotlin-notebook")
licenses {
license {
name.set("MIT License")
url.set("https://opensource.org/license/mit")
distribution.set("https://opensource.org/license/mit")
}
}
developers {
developer {
id.set("toldoven")
name.set("Toldoven")
url.set("https://github.com/Toldoven")
}
}
scm {
url.set("https://github.com/Toldoven/aoc-kotlin-notebook/")
connection.set("scm:git:git://github.com/Toldoven/aoc-kotlin-notebook.git")
developerConnection.set("scm:git:ssh://[email protected]:Toldoven/aoc-kotlin-notebook.git")
}
}
signAllPublications()
}