-
Notifications
You must be signed in to change notification settings - Fork 5
/
build.gradle.kts
62 lines (51 loc) · 1.72 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
import nl.javadude.gradle.plugins.license.LicenseExtension
val kotlinxSerializationVersion by extra("1.6.2")
val kotestVersion by extra("5.8.0")
plugins {
`java-gradle-plugin`
`embedded-kotlin`
id("com.gradle.plugin-publish") version "1.2.1"
id("maven-publish")
id("com.github.hierynomus.license") version "0.16.1"
}
group = "io.github.spencerpark"
version = "3.0.0-SNAPSHOT"
configure<LicenseExtension> {
include("**/*.groovy")
include("**/*.kt")
header = rootProject.file("../LICENSE")
strictCheck = true
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
implementation("org.jetbrains.kotlinx:kotlinx-serialization-json:$kotlinxSerializationVersion")
testImplementation("io.kotest:kotest-runner-junit5:$kotestVersion")
testImplementation("io.kotest:kotest-assertions-core:$kotestVersion")
testImplementation("io.kotest:kotest-property:$kotestVersion")
}
tasks.validatePlugins {
failOnWarning.set(true)
enableStricterValidation.set(true)
}
tasks.withType<Test> {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
}
gradlePlugin {
website.set("https://github.com/SpencerPark/Jupyter-kernel-installer-gradle")
vcsUrl.set("https://github.com/SpencerPark/Jupyter-kernel-installer-gradle.git")
plugins {
create("jupyterKernelInstaller") {
id = "io.github.spencerpark.jupyter-kernel-installer"
implementationClass = "io.github.spencerpark.jupyter.gradle.JupyterKernelInstallerPlugin"
displayName = "Jupyter kernel installer"
description = "A Jupyter kernel packager and installer."
tags.set(listOf("jupyter", "kernel", "installer"))
}
}
}