summaryrefslogtreecommitdiff
path: root/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-06-29 16:04:57 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 16:18:13 +0200
commit46b06fb446e79c390c01953d31d700b8e73da24d (patch)
treeb2329630ebf2c90d297ba0d3046ccd558d12d042 /buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
parentebcacf96fbc1cd16a91523f95dd01db046fb7f90 (diff)
Prepare simulator repository for monorepo
This change prepares the simulator Git repository for the monorepo residing at https://github.com/atlarge-research.com/opendc. To accomodate for this, we move all files into a simulator subdirectory.
Diffstat (limited to 'buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts')
-rw-r--r--buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts62
1 files changed, 0 insertions, 62 deletions
diff --git a/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts b/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
deleted file mode 100644
index c0c37a09..00000000
--- a/buildSrc/src/main/kotlin/kotlin-library-convention.gradle.kts
+++ /dev/null
@@ -1,62 +0,0 @@
-/*
- * MIT License
- *
- * 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
- * in the Software without restriction, including without limitation the rights
- * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- * copies of the Software, and to permit persons to whom the Software is
- * furnished to do so, subject to the following conditions:
- *
- * The above copyright notice and this permission notice shall be included in all
- * copies or substantial portions of the Software.
- *
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
- * SOFTWARE.
- */
-
-import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
-
-plugins {
- `java-library`
- kotlin("jvm")
- id("org.jlleitschuh.gradle.ktlint")
- jacoco
-}
-
-/* Project configuration */
-repositories {
- jcenter()
-}
-
-java {
- sourceCompatibility = JavaVersion.VERSION_1_8
-}
-
-tasks.withType<KotlinCompile>().configureEach {
- kotlinOptions.jvmTarget = "1.8"
- kotlinOptions.freeCompilerArgs += "-Xopt-in=kotlin.RequiresOptIn"
-}
-
-tasks.test {
- useJUnitPlatform()
- reports.html.isEnabled = true
-}
-
-
-tasks.jacocoTestReport {
- reports {
- html.isEnabled = true
- }
-}
-
-dependencies {
- implementation(kotlin("stdlib"))
-}