Skip to content

Commit 6e2a299

Browse files
committed
adding the jaring attributes
1 parent 3455133 commit 6e2a299

File tree

4 files changed

+28
-9
lines changed

4 files changed

+28
-9
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@
33
.project
44
.classpath
55
.settings*
6+
/bin/

build.gradle

Lines changed: 25 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,49 @@
11
apply plugin: 'java'
2-
2+
apply plugin: 'eclipse'
3+
34
sourceCompatibility = '1.7'
5+
targetCompatibility = '1.7'
46
[compileJava, compileTestJava]*.options*.encoding = 'UTF-8'
57

8+
manifest {
9+
attributes 'Implementation-Title': componentTitle
10+
}
11+
612
//apply from: 'http://gradle-plugins.mihosoft.eu/latest/vlicenseheader.gradle'
713
//repairHeaders.licenseHeaderText = new File(projectDir,'./license-template.txt')
814

915
task wrapper(type: Wrapper, description: 'Creates and deploys the Gradle wrapper to the current directory.') {
10-
gradleVersion = '1.11'
16+
gradleVersion = '2.0'
1117
}
1218

13-
applicationDefaultJvmArgs = ["-Xss515m"]
14-
1519
repositories {
1620
mavenCentral()
21+
maven {
22+
url "https://jcenter.bintray.com"
23+
}
24+
}
25+
sourceSets {
26+
main {
27+
java {
28+
srcDir 'javasdk/NRSDK/src/'
29+
}
30+
resources {
31+
srcDir 'javasdk/NRSDK/addons/'
32+
}
33+
}
1734
}
1835

19-
36+
2037
dependencies {
21-
2238
compile fileTree (dir: 'javasdk/NRSDK/lib/', includes: ['*.jar'])
39+
compile fileTree (dir: 'javasdk/NRSDK/lib_addons/', includes: ['*.jar'])
2340
}
2441

42+
2543
// create a fat-jar (class files plus dependencies
2644
// excludes VRL.jar (plugin jar files must not start with 'vrl-\\d+')
2745
jar {
28-
46+
2947
// dependencies except VRL
3048
from configurations.runtime.asFileTree.
3149
filter({file->return !file.name.startsWith("vrl-0")}).

gradle/wrapper/gradle-wrapper.jar

-2.83 KB
Binary file not shown.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#Wed Jan 29 17:24:26 CET 2014
1+
#Thu Apr 02 14:52:11 EDT 2015
22
distributionBase=GRADLE_USER_HOME
33
distributionPath=wrapper/dists
44
zipStoreBase=GRADLE_USER_HOME
55
zipStorePath=wrapper/dists
6-
distributionUrl=http\://services.gradle.org/distributions/gradle-1.10-bin.zip
6+
distributionUrl=http\://services.gradle.org/distributions/gradle-2.0-bin.zip

0 commit comments

Comments
 (0)