forked from IMAGINARY/jsurf
-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.gradle
executable file
·45 lines (36 loc) · 1.02 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
group = 'de.mfo.jsurf'
version = '0.1.0'
apply plugin: 'application'
apply plugin: 'java'
apply plugin: 'eclipse'
apply plugin: 'maven'
targetCompatibility = 1.6
sourceCompatibility = 1.6
repositories {
mavenCentral()
maven {
url "http://download.tuxfamily.org/arakhne/maven"
}
}
dependencies {
compile group: 'javax', name: 'vecmath', version: '1.5.2'
compile 'org.antlr:antlr-runtime:3.4@jar'
compile 'commons-cli:commons-cli:1.2'
}
task wrapper(type: Wrapper) {
gradleVersion = '1.3'
}
uploadArchives {
repositories.mavenDeployer {
// TODO: change to official maven repo
repository( url: "file:///media/DATA/IMAGINARY/maven-repository" )
// workflow for deploying:
// clone/pull https://github.com/IMAGINARY/maven-repository.git into '/media/DATA/IMAGINARY/maven-repository'
// gradle uploadArchives
// in '/media/DATA/IMAGINARY/maven-repository': git push origin master
}
}
mainClassName = "de.mfo.jsurf.Main"
run {
args = [ "-s", "512", "examples/record_kummerquartic.jsurf" ]
}