2018-02-17 13:38:33 +03:00
|
|
|
plugins {
|
2018-12-03 12:23:27 +03:00
|
|
|
id "org.jetbrains.kotlin.jvm" version "1.3.10"
|
2018-02-17 13:38:33 +03:00
|
|
|
id "java"
|
|
|
|
id "application"
|
|
|
|
}
|
2016-05-08 18:46:09 +03:00
|
|
|
|
|
|
|
group = 'inr.numass'
|
|
|
|
version = 'dev'
|
|
|
|
|
2016-06-09 15:51:41 +03:00
|
|
|
description = "Numass trapping simulation"
|
2016-05-08 18:46:09 +03:00
|
|
|
|
2018-02-17 13:38:33 +03:00
|
|
|
mainClassName = "inr.numass.trapping.TrappingKt"
|
2016-06-14 16:48:47 +03:00
|
|
|
|
2016-05-08 18:46:09 +03:00
|
|
|
repositories {
|
2016-06-10 23:02:36 +03:00
|
|
|
mavenCentral()
|
2016-05-08 18:46:09 +03:00
|
|
|
}
|
2016-06-09 15:51:41 +03:00
|
|
|
|
2016-05-08 18:46:09 +03:00
|
|
|
dependencies {
|
2016-07-10 22:10:42 +03:00
|
|
|
compile group: 'org.apache.commons', name: 'commons-math3', version: '3.6.1'
|
2018-02-17 13:38:33 +03:00
|
|
|
compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8"
|
2018-12-03 12:23:27 +03:00
|
|
|
|
|
|
|
// https://mvnrepository.com/artifact/org.apache.commons/commons-rng-simple
|
|
|
|
compile group: 'org.apache.commons', name: 'commons-rng-simple', version: '1.1'
|
|
|
|
|
2016-07-10 22:10:42 +03:00
|
|
|
testCompile group: 'junit', name: 'junit', version: '4.12'
|
2016-05-08 18:46:09 +03:00
|
|
|
}
|
|
|
|
|
2018-02-17 13:38:33 +03:00
|
|
|
compileKotlin {
|
|
|
|
kotlinOptions.jvmTarget = "1.8"
|
|
|
|
}
|
|
|
|
|
2018-12-03 12:23:27 +03:00
|
|
|
//task runTrap(type: JavaExec) {
|
|
|
|
// classpath = sourceSets.main.runtimeClasspath
|
|
|
|
//
|
|
|
|
// main = mainClassName
|
|
|
|
//
|
|
|
|
// // arguments to pass to the application
|
|
|
|
// args 'D:\\Work\\Numass\\trapping\\trap.out'
|
|
|
|
//}
|
2016-07-10 22:10:42 +03:00
|
|
|
|