From 273311d16b7fce81ff5effc036efdd5cfabcb7ff Mon Sep 17 00:00:00 2001
From: breandan <bre@ndan.co>
Date: Sat, 13 Oct 2018 21:52:58 -0400
Subject: [PATCH] move project settings into build script

---
 .gitignore                         |  2 +-
 .idea/runConfigurations/runIde.xml | 22 ----------------------
 build.gradle.kts                   | 10 +++++++++-
 3 files changed, 10 insertions(+), 24 deletions(-)
 delete mode 100644 .idea/runConfigurations/runIde.xml

diff --git a/.gitignore b/.gitignore
index 603999e..eb82729 100755
--- a/.gitignore
+++ b/.gitignore
@@ -2,7 +2,7 @@
 # Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio
 
 ## Directory-based project format:
-.idea/*
+.idea
 *.iml
 
 ## Plugin-specific files:
diff --git a/.idea/runConfigurations/runIde.xml b/.idea/runConfigurations/runIde.xml
deleted file mode 100644
index f53b491..0000000
--- a/.idea/runConfigurations/runIde.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<component name="ProjectRunConfigurationManager">
-  <configuration default="false" name="runIde" type="GradleRunConfiguration" factoryName="Gradle">
-    <log_file alias="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" path="$PROJECT_DIR$/build/idea-sandbox/system/log/idea.log" />
-    <ExternalSystemSettings>
-      <option name="executionName" />
-      <option name="externalProjectPath" value="$PROJECT_DIR$" />
-      <option name="externalSystemIdString" value="GRADLE" />
-      <option name="scriptParameters" value="" />
-      <option name="taskDescriptions">
-        <list />
-      </option>
-      <option name="taskNames">
-        <list>
-          <option value="runIde" />
-        </list>
-      </option>
-      <option name="vmOptions" value="" />
-    </ExternalSystemSettings>
-    <GradleScriptDebugEnabled>true</GradleScriptDebugEnabled>
-    <method v="2" />
-  </configuration>
-</component>
\ No newline at end of file
diff --git a/build.gradle.kts b/build.gradle.kts
index 36044bd..f4a4a6a 100755
--- a/build.gradle.kts
+++ b/build.gradle.kts
@@ -14,8 +14,16 @@ tasks {
 }
 
 plugins {
-  kotlin("jvm") version "1.3.0-rc-116"
+  idea apply true
+  kotlin("jvm") version "1.3.0-rc-146"
   id("org.jetbrains.intellij") version "0.3.11"
+  id("org.jetbrains.gradle.plugin.idea-ext") version "0.4.2"
+}
+
+idea {
+  project {
+    // TODO
+  }
 }
 
 intellij {