-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathbuild.gradle
112 lines (94 loc) · 2.35 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
107
108
109
110
111
112
plugins {
id "org.sonarqube" version "3.3"
}
apply plugin: "idea"
apply plugin: "java"
apply plugin: "maven"
wrapper{
gradleVersion = '5.0'
distributionUrl = "https://services.gradle.org/distributions/gradle-${gradleVersion}-all.zip"
}
dependencies {
implementation 'org.jsmart:zerocode-tdd:1.3.28'
}
sourceSets {
main {
java {
srcDir 'main/src'
}
resources {
srcDir 'main/resources'
}
}
test {
java {
srcDir 'test/src'
}
resources {
srcDir 'test/resources'
}
}
}
group = "com.complexible.pinto"
version = "2.0.1-SNAPSHOT"
ext {
projectDescription = "Pinto: A lightweight framework for mapping Java Beans into RDF and back again"
projectUrl = "https://github.com/complexible/pinto"
}
sourceCompatibility = '1.8'
targetCompatibility = '1.8'
repositories {
mavenCentral()
maven {
url "http://maven.stardog.com"
}
}
task cucumber() {
dependsOn assemble, testClasses
doLast {
javaexec {
main = "io.cucumber.core.cli.Main"
classpath = configurations.cucumberRuntime + sourceSets.main.output + sourceSets.test.output
args = ['--plugin', 'pretty','--glue', 'cucumber', 'test/resources']
}
}
}
configurations {
cucumberRuntime {
extendsFrom testImplementation
}
}
dependencies {
compile (group: "com.google.guava", name: "guava", version: "18.0") {
exclude group: "com.google.code.findbugs"
}
compile "commons-beanutils:commons-beanutils:1.9.2"
compile "commons-codec:commons-codec:1.10"
compile "com.complexible.common:cp-openrdf-utils:4.0.2"
compile ("com.complexible.common:cp-common-utils:5.0.1") {
exclude group: "org.slf4j"
}
// these should be coming from cp-openrdf-utils, but it's missing these
compile "org.openrdf.sesame:sesame-rio-ntriples:4.0.0"
compile "org.slf4j:slf4j-api:1.7.7"
compile "org.slf4j:slf4j-jdk14:1.7.7"
testImplementation 'junit:junit:4.13'
testImplementation 'io.cucumber:cucumber-java:6.6.1'
testImplementation 'io.cucumber:cucumber-junit:6.6.1'
testImplementation 'io.rest-assured:rest-assured:4.3.3'
testCompile 'junit:junit:4.11'
}
sonarqube {
properties {
property "sonar.projectKey", "BME-MIT-IET_iet-hf-2022-pied-piper"
property "sonar.organization", "bme-mit-iet-org"
property "sonar.host.url", "https://sonarcloud.io"
}
}
tasks.withType(Test) {
systemProperties = System.getProperties()
}
task testJar(type: Jar) {
classifier = 'tests'
from sourceSets.test.output
}