Table display GUI

This commit is contained in:
Alexander Nozik 2017-10-15 22:49:04 +03:00
parent 215b5aa3aa
commit af3dcfe986
5 changed files with 89 additions and 0 deletions

View File

@ -1,4 +1,5 @@
buildscript { buildscript {
ext.kotlin_version = '1.1.51'
ext.kotlin_version = '1.1.4-2' ext.kotlin_version = '1.1.4-2'
repositories { repositories {
@ -26,6 +27,7 @@ dependencies {
compile "hep.dataforge:plots-jfc" // project(':dataforge-plots:plots-jfc') compile "hep.dataforge:plots-jfc" // project(':dataforge-plots:plots-jfc')
compile "hep.dataforge:dataforge-control" //project(':dataforge-control') compile "hep.dataforge:dataforge-control" //project(':dataforge-control')
compile "hep.dataforge:kodex-fx" compile "hep.dataforge:kodex-fx"
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
} }
@ -72,3 +74,16 @@ task distAll(dependsOn: installAll, type: Zip) {
from "$buildDir/install/numass-control" from "$buildDir/install/numass-control"
} }
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}

View File

@ -29,6 +29,7 @@ dependencies {
devices project(':numass-control:cryotemp') devices project(':numass-control:cryotemp')
devices project(':numass-control:msp') devices project(':numass-control:msp')
devices project(':numass-control:vac') devices project(':numass-control:vac')
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
} }
shadowJar{ shadowJar{
@ -69,3 +70,4 @@ distributions{

View File

@ -1,4 +1,5 @@
apply plugin: 'application' apply plugin: 'application'
apply plugin: 'kotlin'
if (!hasProperty('mainClass')) { if (!hasProperty('mainClass')) {
ext.mainClass = 'inr.numass.control.cryotemp.PKT8App' ext.mainClass = 'inr.numass.control.cryotemp.PKT8App'
@ -11,6 +12,7 @@ version = "0.2.0";
dependencies { dependencies {
compile project(':numass-control') compile project(':numass-control')
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
} }
task testDevice(dependsOn: classes, type: JavaExec) { task testDevice(dependsOn: classes, type: JavaExec) {
@ -20,6 +22,28 @@ task testDevice(dependsOn: classes, type: JavaExec) {
description "Start application in debug mode with default virtual port" description "Start application in debug mode with default virtual port"
group "test" group "test"
} }
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
//task testRun(dependsOn: classes, type: JavaExec) { //task testRun(dependsOn: classes, type: JavaExec) {
// main mainClass // main mainClass

View File

@ -1,4 +1,5 @@
apply plugin: 'application' apply plugin: 'application'
apply plugin: 'kotlin'
version = "0.4.0" version = "0.4.0"
@ -10,4 +11,27 @@ mainClassName = mainClass
dependencies { dependencies {
compile project(':numass-control') compile project(':numass-control')
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
}
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
} }

View File

@ -1,4 +1,5 @@
apply plugin: 'application' apply plugin: 'application'
apply plugin: 'kotlin'
version = "0.5.0" version = "0.5.0"
@ -9,6 +10,7 @@ mainClassName = mainClass
dependencies { dependencies {
compile project(':numass-control') compile project(':numass-control')
compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
} }
task testDevice(dependsOn: classes, type: JavaExec) { task testDevice(dependsOn: classes, type: JavaExec) {
@ -18,3 +20,25 @@ task testDevice(dependsOn: classes, type: JavaExec) {
description "Start application in debug mode with default virtual port" description "Start application in debug mode with default virtual port"
group "test" group "test"
} }
buildscript {
ext.kotlin_version = '1.1.51'
repositories {
mavenCentral()
}
dependencies {
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
}
}
repositories {
mavenCentral()
}
compileKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}
compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
}