-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle.kts
71 lines (55 loc) · 1.66 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
66
67
68
69
70
71
//import magik.createGithubPublication
//import magik.github
plugins {
// Apply the org.jetbrains.kotlin.jvm Plugin to add support for Kotlin.
kotlin("jvm") version embeddedKotlinVersion
// Apply the java-library plugin for API and implementation separation.
`java-library`
// id("elect86.magik") version "0.2.0"
`maven-publish`
application
}
version = "0.0.1"
group = "elect86"
repositories {
// Use Maven Central for resolving dependencies.
mavenCentral()
}
application {
// mainClass.set("slurm.MiscKt")
// mainClass.set("slurm.NodesKt")
// mainClass.set("slurm.SqueueKt")
}
dependencies {
// implementation("com.github.ajalt.mordant:mordant:2.0.0-beta2")
// implementation("com.github.ajalt.mordant:mordant-jvm:2.0.0-beta2")
// Align versions of all Kotlin components
implementation(platform(kotlin("bom", embeddedKotlinVersion)))
// Use the Kotlin JDK 8 standard library.
implementation(kotlin("stdlib-jdk8"))
// Use the Kotlin test library.
testImplementation(kotlin("test"))
testImplementation(kotlin("reflect"))
// Use the Kotlin JUnit integration.
// testImplementation("org.jetbrains.kotlin:kotlin-test-junit")
}
val a by tasks.creating
tasks {
val b by creating
b
test { useJUnitPlatform() }
}
//
//publishing {
// publications {
// createGithubPublication {
// from(components["java"])
// // artifact(sourceJar)
// }
// repositories {
// github {
// domain = "kotlin-graphics/mary" // aka https://github.com/kotlin-graphics/mary
// }
// }
// }
//}