forked from IMAGINARY/jsurf
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
executable file
·61 lines (50 loc) · 1.4 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
group = 'de.mfo.jsurf'
version = '0.3.0'
apply plugin: 'application'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven-publish'
targetCompatibility = 1.7
sourceCompatibility = 1.7
repositories {
mavenCentral()
}
dependencies {
compile group: 'javax.vecmath', name: 'vecmath', version: '1.5.2'
compile 'org.antlr:antlr-runtime:3.4@jar'
compile 'commons-cli:commons-cli:1.2'
testCompile group: 'junit', name: 'junit', version: '4.11'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.12'
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
jar {
manifest {
attributes( "Implementation-Title": project.group,
"Implementation-Version": project.version,
"Implementation-Vendor": "Mathematisches Forschungsinstitut Oberwolfach" )
}
}
publishing {
publications {
mavenJava(MavenPublication) {
from components.java
artifact sourceJar {
classifier "sources"
}
}
}
repositories {
maven {
// change if necessary
url "$projectDir/../maven-repository"
}
}
}
mainClassName = "de.mfo.jsurf.Main"
run {
args = [ "-s", "512", "--gui", "examples/record_kummerquartic.jsurf" ]
}