summaryrefslogtreecommitdiff
path: root/opendc-core/build.gradle
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2017-09-04 12:56:44 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2017-09-04 12:56:44 +0200
commit96f75806dbdcb8c43a22c7db98e85ac5e854e68b (patch)
tree0cd0202c7cb85482621b5624b710acef1604bea3 /opendc-core/build.gradle
parent2e8df509bb2fc513b7f793d51c6a85cf6bbe62ca (diff)
Move simulation kernels into topology entities
This change embeds simulation kernels into the entities and relations of the topology.
Diffstat (limited to 'opendc-core/build.gradle')
-rw-r--r--opendc-core/build.gradle25
1 files changed, 11 insertions, 14 deletions
diff --git a/opendc-core/build.gradle b/opendc-core/build.gradle
index f2999d82..bf71b63b 100644
--- a/opendc-core/build.gradle
+++ b/opendc-core/build.gradle
@@ -25,7 +25,6 @@
/* Build configuration */
buildscript {
ext.kotlin_version = '1.1.4-3'
- ext.kotlin_version = '1.1.4'
repositories {
mavenCentral()
@@ -45,7 +44,13 @@ plugins {
apply plugin: 'org.junit.platform.gradle.plugin'
apply plugin: 'kotlin'
-tasks.withType(org.jetbrains.kotlin.gradle.tasks.KotlinCompile).all {
+compileKotlin {
+ kotlinOptions {
+ jvmTarget = "1.8"
+ }
+}
+
+compileTestKotlin {
kotlinOptions {
jvmTarget = "1.8"
}
@@ -67,19 +72,11 @@ repositories {
dependencies {
compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
- compile 'org.jetbrains.kotlinx:kotlinx-coroutines-core:0.18'
+ compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
+ compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.18"
+ compile "io.github.microutils:kotlin-logging:1.4.6"
testCompile "org.junit.jupiter:junit-jupiter-api:5.0.0-RC3"
testRuntime "org.junit.jupiter:junit-jupiter-engine:5.0.0-RC3"
- compile "org.jetbrains.kotlin:kotlin-stdlib-jre8:$kotlin_version"
-}
-compileKotlin {
- kotlinOptions {
- jvmTarget = "1.8"
- }
-}
-compileTestKotlin {
- kotlinOptions {
- jvmTarget = "1.8"
- }
+ testCompile "org.slf4j:slf4j-simple:1.7.25"
}