trapping/build.gradle

41 lines
766 B
Groovy
Raw Normal View History

apply plugin: 'java'
2016-06-04 14:33:01 +03:00
apply plugin: 'idea'
apply plugin: 'application'
mainClassName = "inr.numass.trapping.Trapping"
group = 'inr.numass'
version = 'dev'
2016-06-09 15:51:41 +03:00
description = "Numass trapping simulation"
sourceCompatibility = 1.8
targetCompatibility = 1.8
tasks.withType(JavaCompile) {
options.encoding = 'UTF-8'
}
2016-06-14 16:48:47 +03:00
tasks.withType(JavaExec){
enableAssertions = true
}
repositories {
2016-06-10 23:02:36 +03:00
mavenCentral()
}
2016-06-09 15:51:41 +03:00
dependencies {
compile group: 'org.apache.commons', name: 'commons-math3', version:'3.6.1'
testCompile group: 'junit', name: 'junit', version:'4.12'
}
task runTrap(type: JavaExec) {
classpath = sourceSets.main.runtimeClasspath
main = mainClassName
// arguments to pass to the application
args 'D:\\Work\\Numass\\trapping\\trap.out'
}