CS5004/build.gradle.kts
2019-06-23 14:02:35 -04:00

31 lines
No EOL
659 B
Kotlin

import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.3.40"
application
}
group = "com.anthonycicchetti.cs5004"
version = "0.1.0"
repositories {
mavenCentral()
}
dependencies {
implementation(kotlin("stdlib-jdk8"))
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "1.8"
}
tasks.register<JavaExec>("Assignment4") {
classpath = sourceSets.main.get().runtimeClasspath
main = "com.anthonycicchetti.cs5004.assignment4.Main"
}
tasks.register<JavaExec>("Assignment3") {
classpath = sourceSets.main.get().runtimeClasspath
main = "com.anthonycicchetti.cs5004.assignment3.Main"
}