summaryrefslogtreecommitdiff
path: root/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2020-03-11 12:16:10 +0100
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2020-03-11 12:16:10 +0100
commit1ccfcb28bb91c9dc456a1f324a0be6300086eb28 (patch)
treeb03bbf6dc69cc2d2c7fcfda1ad0b081c91443312 /buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
parent2dd2bfe87bcbe368f46ce8e975ccccbfac2c0560 (diff)
parent1200816b7bf5c76b6bbb91b7e4555e9f04ea1af9 (diff)
Merge branch 'feat/2.x-power-model' into '2.x'
Implement basic power usage model See merge request opendc/opendc-simulator!36
Diffstat (limited to 'buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts')
-rw-r--r--buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts1
1 files changed, 1 insertions, 0 deletions
diff --git a/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts b/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
index 8b71ad91..c0c37a09 100644
--- a/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
+++ b/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
@@ -42,6 +42,7 @@ java {
tasks.withType<KotlinCompile>().configureEach {
kotlinOptions.jvmTarget = "1.8"
+ kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
}
tasks.test {