-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
106 lines (94 loc) · 2.36 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
plugins {
id 'java'
id 'maven-publish'
id 'idea'
}
repositories {
flatDir {
dirs 'lib'
}
}
java {
withJavadocJar()
withSourcesJar()
}
group 'diarg'
version '0.12-SNAPSHOT'
sourceCompatibility = 1.8
repositories {
mavenCentral()
maven {
url 'http://tweetyproject.org/mvn/'
}
}
dependencies {
implementation('net.sf.tweety:tweety-full:1.17') {
exclude group: 'org.ojalgo', module: 'ojalgo'
exclude group: 'jspf', module: 'core'
}
implementation("com.google.guava:guava:29.0-jre")
compile 'org.junit.jupiter:junit-jupiter-api:5.6.1'
testRuntimeOnly("org.junit.platform:junit-platform-launcher:1.6.2")
testRuntimeOnly("org.junit.jupiter:junit-jupiter-engine:5.6.2")
testRuntimeOnly("org.junit.vintage:junit-vintage-engine:5.6.2")
}
task run(type: JavaExec) {
classpath sourceSets.main.runtimeClasspath
main = "diarg.DiArg"
}
javadoc {
source = sourceSets.main.allJava
classpath = configurations.compileClasspath
options
{
setMemberLevel JavadocMemberLevel.PUBLIC
setAuthor true
}
}
sourceSets {
main {
java {
srcDir 'src'
srcDir 'test'
}
}
}
test {
useJUnitPlatform {
includeEngines 'junit-jupiter'
}
}
publishing {
publications {
mavenJava(MavenPublication) {
artifactId = 'di-arg'
from components.java
versionMapping {
usage('java-api') {
fromResolutionOf('runtimeClasspath')
}
usage('java-runtime') {
fromResolutionResult()
}
}
pom {
name = 'DiArg'
description = 'An Argumentation-Based Dialogue Reasoner'
url = 'https://github.com/TimKam/diarg'
licenses {
license {
name = 'BSD 2-Clause License'
url = 'https://github.com/TimKam/diarg/LICENSE'
}
}
developers {
developer {
id = 'TimKam'
name = 'Timotheus Kampik'
email = '[email protected]'
}
}
}
}
}
}