This repository has been archived by the owner on Apr 15, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
build.gradle
73 lines (64 loc) · 1.68 KB
/
build.gradle
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
72
73
plugins {
id 'java'
id 'application'
id 'maven-publish'
id 'org.sonarqube' version '2.7'
id 'jacoco'
}
group 'nl.rws.otl'
version '0.1-SNAPSHOT'
mainClassName = 'nl.rws.otl.git_tools.ReSerialize'
applicationName = 'ReSerialize'
repositories {
mavenCentral()
}
project.ext.versions = [
commonscli: '1.4',
owlapi : '5.1.14',
lombok : '1.18.12',
slf4j : '1.7.30',
junit : '4.13',
junitrules: '1.19.0'
]
dependencies {
implementation "commons-cli:commons-cli:${versions.commonscli}"
implementation "net.sourceforge.owlapi:owlapi-apibinding:${versions.owlapi}"
implementation "org.slf4j:slf4j-simple:${versions.slf4j}"
compileOnly "org.projectlombok:lombok:${versions.lombok}"
annotationProcessor "org.projectlombok:lombok:${versions.lombok}"
testImplementation "junit:junit:${versions.junit}"
testImplementation "com.github.stefanbirkner:system-rules:${versions.junitrules}"
}
jar {
manifest {
attributes(
'Class-Path': configurations.compile.collect { it.getName() }.join(' '),
'Main-Class': mainClassName
)
}
}
distributions {
main {
contents {
from 'LICENSE'
}
}
}
publishing {
repositories {
maven {
name = "GitHubPackages"
url = uri("https://maven.pkg.github.com/RWS-NL/airbim-otl-ReSerialize")
credentials {
username = mavenUser
password = mavenPassword
}
}
}
publications {
mavenJava(MavenPublication) {
from components.java
artifact distZip
}
}
}