[build] Create a separate utility module for basic things

The :utilities module contains some logic that depends on all
other parts of the K/N toolchain. But we also need a module
containing a basic logic that all other parts of the toolchain
depends on. Historically such logic is located in the :shared
module. However having code with complex dependencies in :shared
may slow down a composite build import.

So this patch puts all content of :utilities into a new module
:utilities:cli-runner and creates a new :utilities:basic-utils
module. Later some logic from the :shared module may be moved
into this new module.
This commit is contained in:
Ilya Matveev
2020-04-28 17:20:22 +07:00
committed by Ilya Matveev
parent a99c22fbcf
commit f959f275e8
8 changed files with 29 additions and 2 deletions
+24
View File
@@ -0,0 +1,24 @@
/*
* Copyright 2010-2020 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license
* that can be found in the LICENSE file.
*/
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
buildscript {
apply(from = "$rootDir/gradle/kotlinGradlePlugin.gradle")
}
plugins {
kotlin("jvm")
}
tasks.named<KotlinCompile>("compileKotlin") {
kotlinOptions {
freeCompilerArgs = listOf("-Xskip-metadata-version-check")
}
}
dependencies {
}