-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (53 loc) · 1.31 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
buildscript {
repositories {
mavenCentral()
}
dependencies {
classpath("org.springframework.boot:spring-boot-gradle-plugin:1.2.2.RELEASE")
classpath("net.saliman:gradle-cobertura-plugin:2.2.7")
classpath("org.codehaus.groovy:groovy-backports-compat23:2.3.5")
}
}
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'idea'
apply plugin: 'spring-boot'
apply plugin: 'maven'
apply plugin: 'net.saliman.cobertura'
bootRepackage {
mainClass = 'jena.Application'
}
jar {
baseName = 'semantic_ws'
version = '0.1.0'
}
repositories {
mavenLocal()
mavenCentral()
}
dependencies {
compile("org.springframework.boot:spring-boot-starter-web")
compile("org.apache.jena:jena:2.11.1")
compile("org.apache.jena:jena-arq:2.11.1")
testCompile("junit:junit")
}
configurations {
compile.exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.11'
}
task writeNewPom << {
pom {
project {
inceptionYear '2008'
licenses {
license {
name 'The Apache Software License, Version 2.0'
url 'http://www.apache.org/licenses/LICENSE-2.0.txt'
distribution 'repo'
}
}
}
}.writeTo("$buildDir/newpom.xml")
}