-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.gradle
More file actions
71 lines (58 loc) · 1.88 KB
/
Copy pathbuild.gradle
File metadata and controls
71 lines (58 loc) · 1.88 KB
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
apply plugin: 'java-library'
apply plugin: 'jacoco'
apply plugin: 'maven-publish'
apply plugin: 'idea'
// Set version: use CLI parameter if provided, otherwise use git-based default
version = findProperty('version') ?: 'master-SNAPSHOT'
java {
sourceCompatibility = JavaVersion.VERSION_21
targetCompatibility = JavaVersion.VERSION_21
withJavadocJar()
withSourcesJar()
}
repositories {
mavenCentral()
}
dependencies {
implementation 'org.apache.httpcomponents.client5:httpclient5:5.6'
implementation 'org.apache.httpcomponents.client5:httpclient5-fluent:5.6'
implementation 'org.eclipse.californium:californium-core:2.6.3'
implementation 'com.google.code.gson:gson:2.13.2'
implementation 'org.slf4j:slf4j-api:2.0.17'
implementation 'org.apache.commons:commons-collections4:4.5.0'
implementation 'commons-io:commons-io:2.21.0'
implementation group: 'org.eclipse.rdf4j', name: 'rdf4j-rio-turtle', version: '5.2.2'
implementation group: 'org.eclipse.rdf4j', name: 'rdf4j-rio-jsonld', version: '5.2.2'
implementation group: 'org.eclipse.rdf4j', name: 'rdf4j-model', version: '5.2.1'
// Use JUnit test framework
testImplementation 'junit:junit:4.13.2'
// https://mvnrepository.com/artifact/org.mockito/mockito-core
testImplementation group: 'org.mockito', name: 'mockito-core', version: '5.21.0'
testImplementation 'org.apache.httpcomponents:httpclient:4.5.14'
runtimeOnly 'org.slf4j:slf4j-log4j12:2.0.17'
}
jacocoTestReport {
reports {
xml.required.set true
html.required.set false
}
}
publishing {
publications {
maven(MavenPublication) {
from components.java
groupId 'ch.unisg.ics.interactions'
artifactId 'wot-td-java'
}
}
repositories {
maven {
url = "file://${layout.buildDirectory}/repo"
}
}
}
javadoc {
if (JavaVersion.current().isJava9Compatible()) {
options.addBooleanOption('html5', true)
}
}