2019-12-09 22:09:48 +00:00
|
|
|
plugins {
|
|
|
|
id 'java'
|
|
|
|
id 'application'
|
2019-12-14 02:42:25 +00:00
|
|
|
id "net.java.openjdk.shinyafox.jshell.gradle.plugin" version "1.0.4"
|
2019-12-09 22:09:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
repositories {
|
|
|
|
jcenter()
|
|
|
|
}
|
|
|
|
|
|
|
|
dependencies {
|
|
|
|
implementation 'com.google.guava:guava:28.0-jre'
|
|
|
|
testImplementation 'junit:junit:4.12'
|
|
|
|
}
|
|
|
|
|
|
|
|
application {
|
2019-12-10 00:02:24 +00:00
|
|
|
mainClassName = 'serene.simple.Main'
|
|
|
|
}
|
|
|
|
|
|
|
|
jar {
|
|
|
|
manifest {
|
|
|
|
attributes 'Main-Class': 'serene.simple.Main'
|
|
|
|
}
|
2019-12-09 22:09:48 +00:00
|
|
|
}
|
2019-12-14 02:42:25 +00:00
|
|
|
|
|
|
|
// run {
|
|
|
|
// standardInput = System.in
|
|
|
|
// }
|
|
|
|
|
|
|
|
task repl(type: JavaExec) {
|
|
|
|
classpath = sourceSets.main.runtimeClasspath
|
|
|
|
|
|
|
|
main = 'serene.simple.Main'
|
|
|
|
standardInput = System.in
|
|
|
|
|
|
|
|
|
|
|
|
}
|