forked from ihmcrobotics/ihmc-open-robotics-software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
75 lines (62 loc) · 2.57 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
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "gradle.plugin.us.ihmc.gradle:ihmc-build:0.0.17"
}
}
apply plugin: "us.ihmc.gradle.ihmc-build"
apply plugin: 'jacoco'
if (!rootProject.name.equals('IHMCOpenRoboticsSoftware')) {
evaluationDependsOn(':IHMCOpenRoboticsSoftware')
}
sourceCompatibility = 1.7
version = "${getOpenRoboticsSoftwareProject().version}"
project.ext.fullVersion = "${getOpenRoboticsSoftwareProject().ext.fullVersion}"
project.ext.vcsUrl = "${getOpenRoboticsSoftwareProject().ext.vcsUrl}"
project.ext.licenseURL = "http://www.apache.org/licenses/LICENSE-2.0.txt"
project.ext.licenseName = "Apache License, Version 2.0"
project.ext.bintrayLicenseName = "Apache-2.0"
jar {
manifest {
attributes(
"Created-By": "IHMC Gradle Build Script",
"Implementation-Title": project.name,
"Implementation-Version": project.version,
"Implementation-Vendor": "IHMC",
"Bundle-Name": project.name,
"Bundle-Version": project.version,
"Bundle-License": "${project.ext.licenseURL}",
"Bundle-Vendor": "IHMC")
}
}
repositories ihmc.ihmcDefaultArtifactProxies()
repositories {
mavenLocal()
jcenter()
mavenCentral()
maven {
url "https://bengal.ihmc.us/nexus/content/repositories/thirdparty/"
}
}
def strings = ['ihmc', 'robotics']
ihmc.configureForIHMCOpenSourceBintrayPublish(false, "mavenJava", "maven-release", strings)
dependencies {
testCompile group: 'junit', name: 'junit', version: '4.11'
compile group: 'org.apache.commons', name: 'commons-lang3', version: '3.4'
compile group: 'commons-io', name: 'commons-io', version: '2.4'
compile group: 'org.apache.lucene', name: 'lucene-analyzers-common', version: '4.3.0'
compile group: 'org.apache.lucene', name: 'lucene-core', version: '4.3.0'
compile group: 'org.apache.lucene', name: 'lucene-queryparser', version: '4.3.0'
compile group: 'us.ihmc.thirdparty.jinput', name: 'jinput', version: '160414'
compile group: 'org.xerial.snappy', name: 'snappy-java', version: '1.1.1-M1'
compile group: 'com.google.guava', name: 'guava', version: '18.0'
// testCompile group: 'org.pitest', name: 'pitest', version: '1.1.9'
// testCompile group: 'org.pitest', name: 'pitest-command-line', version: '1.1.9'
testCompile group: 'javax.vecmath', name: 'vecmath', version: '1.5.2'
testCompile ihmc.getProjectDependency(":IHMCUnitTesting")
}
test.finalizedBy jacocoTestReport