aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorMarvin Borner2019-04-16 23:52:59 +0200
committerMarvin Borner2019-04-16 23:52:59 +0200
commitcdd6fa1981ebf8d96e4849167805c471451e5d6d (patch)
tree80d9ac1670d6f08a5ec0bd540fd9d96a8fa2be6f /build.gradle
parentf84c2ada032efee0b9d9eb03c63b10458f135dcd (diff)
Abstracted functions to classes
Co-authored-by: LarsVomMars <lars@kroenner.eu>
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"
}