File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change 1+ apply plugin : ' java'
2+
3+ sourceCompatibility = ' 1.7'
4+ [compileJava, compileTestJava]* . options* . encoding = ' UTF-8'
5+
6+ // apply from: 'http://gradle-plugins.mihosoft.eu/latest/vlicenseheader.gradle'
7+ // repairHeaders.licenseHeaderText = new File(projectDir,'./license-template.txt')
8+
9+ task wrapper (type : Wrapper , description : ' Creates and deploys the Gradle wrapper to the current directory.' ) {
10+ gradleVersion = ' 1.11'
11+ }
12+
13+ applicationDefaultJvmArgs = [" -Xss515m" ]
14+
15+ repositories {
16+ mavenCentral()
17+ }
18+
19+
20+ dependencies {
21+
22+ testCompile group : ' junit' , name : ' junit' , version : ' 4.+'
23+
24+ compile group : ' java3d' , name : ' vecmath' , version : ' 1.3.1'
25+ compile ' org.slf4j:slf4j-simple:1.6.1'
26+ // compile group: 'java3d', name: 'vecmath', version: '1.3.1' , classifier: "javadoc"
27+ }
28+
29+ // create a fat-jar (class files plus dependencies
30+ // excludes VRL.jar (plugin jar files must not start with 'vrl-\\d+')
31+ jar {
32+
33+ // dependencies except VRL
34+ from configurations. runtime. asFileTree.
35+ filter({file -> return ! file. name. startsWith(" vrl-0" )}).
36+ files. collect { zipTree(it) }
37+
38+ // project class files compiled from source
39+ from files(sourceSets. main. output. classesDir)
40+
41+ }
You can’t perform that action at this time.
0 commit comments