summaryrefslogtreecommitdiff
path: root/simulator/buildSrc/build.gradle.kts
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2021-02-23 21:55:50 +0100
committerGitHub <noreply@github.com>2021-02-23 21:55:50 +0100
commit4a4e724bee6ccfbf961b750b1f8cf56eaf7d3b5e (patch)
treecbbbcd759f16b8d0aa87c41b7f10dcc5fdf7087a /simulator/buildSrc/build.gradle.kts
parent60a0cf76bcd5b5c8b1b5a912b2337266e87b5321 (diff)
parent15fcd1a10018605f59ca7a644b8f3b3960e7b6b0 (diff)
harness: Perform several improvements
This commit performs several improvements to the OpenDC harness and modules utilizing the harness.
Diffstat (limited to 'simulator/buildSrc/build.gradle.kts')
-rw-r--r--simulator/buildSrc/build.gradle.kts25
1 files changed, 14 insertions, 11 deletions
diff --git a/simulator/buildSrc/build.gradle.kts b/simulator/buildSrc/build.gradle.kts
index e1f538fe..4cc1958a 100644
--- a/simulator/buildSrc/build.gradle.kts
+++ b/simulator/buildSrc/build.gradle.kts
@@ -1,7 +1,5 @@
/*
- * MIT License
- *
- * Copyright (c) 2019 atlarge-research
+ * Copyright (c) 2019 AtLarge Research
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
@@ -22,21 +20,16 @@
* SOFTWARE.
*/
+import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
+
plugins {
`kotlin-dsl`
}
-kotlinDslPluginOptions {
- experimentalWarning.set(false)
-}
-
-
/* Project configuration */
repositories {
jcenter()
- maven {
- url = uri("https://plugins.gradle.org/m2/")
- }
+ gradlePluginPortal()
}
dependencies {
@@ -44,3 +37,13 @@ dependencies {
implementation("org.jlleitschuh.gradle:ktlint-gradle:10.0.0")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:0.10.1")
}
+
+kotlinDslPluginOptions {
+ experimentalWarning.set(false)
+}
+
+tasks.withType<KotlinCompile>().configureEach {
+ kotlinOptions {
+ allWarningsAsErrors = true
+ }
+}