forked from ihmcrobotics/ihmc-open-robotics-software
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
66 lines (54 loc) · 2.1 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
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"
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"
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'
testCompile group: 'org.yaml', name: 'snakeyaml', version: '1.13'
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.3'
compile group: 'com.github.vincentfk', name:'joptimizer', version:'3.3.0'
compile group: 'org.ejml', name: 'core', version: '0.28'
compile group: 'org.ejml', name: 'dense64', version: '0.28'
compile group: 'net.sf.trove4j', name: 'trove4j', version: '3.0.3'
compile ihmc.getProjectDependency(":IHMCRoboticsToolkit")
testCompile ihmc.getProjectDependency(":IHMCUnitTesting")
}
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")
}
}