aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle14
1 files changed, 14 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
index 1eee8c8..1cab197 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,3 +1,12 @@
+buildscript {
+ repositories {
+ mavenCentral()
+ }
+ dependencies {
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin"
+ }
+}
+
plugins {
id 'org.jetbrains.kotlin.jvm' version '1.3.11'
id 'nu.studer.rocker' version '0.4'
@@ -7,6 +16,10 @@ plugins {
group "space.anity"
version "1.0-SNAPSHOT"
+apply plugin: 'kotlin'
+apply plugin: 'application'
+mainClassName = 'space.anity.AppKt'
+
repositories {
jcenter()
}
@@ -35,6 +48,7 @@ dependencies {
compileKotlin {
kotlinOptions.jvmTarget = "1.8"
}
+
compileTestKotlin {
kotlinOptions.jvmTarget = "1.8"
}