aboutsummaryrefslogtreecommitdiff
path: root/build.gradle
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2018-06-13 21:35:44 +0100
committerJames Barnett <noreply@jamesbarnett.xyz>2018-06-13 21:35:44 +0100
commit1d66a2c79cf98970ee80cbb1fe4262fa95c885dd (patch)
tree6733e9b2889eb0542867925f330da1c6583e22b5 /build.gradle
downloadKGB-1d66a2c79cf98970ee80cbb1fe4262fa95c885dd.tar.xz
KGB-1d66a2c79cf98970ee80cbb1fe4262fa95c885dd.zip
Initial files. Implement basic registers.
Diffstat (limited to 'build.gradle')
-rw-r--r--build.gradle36
1 files changed, 36 insertions, 0 deletions
diff --git a/build.gradle b/build.gradle
new file mode 100644
index 0000000..71b1199
--- /dev/null
+++ b/build.gradle
@@ -0,0 +1,36 @@
+buildscript {
+ ext.kotlin_version = '1.2.31'
+
+ repositories {
+ mavenCentral()
+ }
+ dependencies {
+ classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
+ }
+}
+
+group 'net.jamesbarnett'
+version '1.0-SNAPSHOT'
+
+apply plugin: 'kotlin'
+
+repositories {
+ mavenCentral()
+}
+
+test {
+ useJUnitPlatform()
+}
+
+dependencies {
+ compile "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
+
+ testCompile 'io.kotlintest:kotlintest-runner-junit5:3.1.7'
+}
+
+compileKotlin {
+ kotlinOptions.jvmTarget = "1.8"
+}
+compileTestKotlin {
+ kotlinOptions.jvmTarget = "1.8"
+} \ No newline at end of file