-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle.kts
57 lines (48 loc) · 1.18 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
plugins {
java
application
`maven-publish`
id("io.freefair.lombok") version "8.0.1"
}
group = "com.github.psiotwo"
version = "0.0.2-SNAPSHOT"
application {
mainClass.set("cz.sio2.obo.commands.CLI")
}
java {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
repositories {
mavenCentral()
maven { url = uri("https://jitpack.io") }
}
dependencies {
implementation(libs.slf4j)
implementation(libs.slf4jsimple)
implementation(libs.picocli)
implementation(libs.httpclient5)
implementation(libs.jena)
implementation(libs.freemarker)
implementation(libs.jacksonyaml)
testImplementation(libs.bundles.testDependencies)
testRuntimeOnly(libs.bundles.testRuntimeOnly)
}
tasks {
test {
useJUnitPlatform()
}
named<JavaExec>("run") {
systemProperties = System.getProperties() as Map<String,Any?>
}
}
publishing {
publications {
create<MavenPublication>("mavenJava") {
groupId = "com.github.psiotwo"
artifactId = "ontology-version-extractor"
version = "0.0.2-SNAPSHOT"
from(components["java"])
}
}
}