Drop settings.gradle.kts from kotlin-native/shared
Review: https://jetbrains.team/p/kt/reviews/6753 I don't know why this settings.gradle.kts is needed. But I think that it was needed before "kotlin-native merge into kotlin" times. (Pavel Punegov says the same) I try to remove and if CI doesn't fail then I will push it. I need to drop settings.gradle.kts because I'm going to replace kotlin-reflect dependency from source to binary in the next commits. And before doing this refactoring I want to normalize all the dependencies on kotlin-reflect.
This commit is contained in:
@@ -51,8 +51,8 @@ tasks.jar {
|
|||||||
dependencies {
|
dependencies {
|
||||||
kotlinCompilerClasspath("org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlinVersion")
|
kotlinCompilerClasspath("org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlinVersion")
|
||||||
|
|
||||||
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
|
implementation(kotlinStdlib())
|
||||||
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
|
implementation(project(":kotlin-reflect"))
|
||||||
api("org.jetbrains.kotlin:kotlin-native-utils:$kotlinVersion")
|
api("org.jetbrains.kotlin:kotlin-native-utils:$kotlinVersion")
|
||||||
api("org.jetbrains.kotlin:kotlin-util-klib:$kotlinVersion")
|
api("org.jetbrains.kotlin:kotlin-util-klib:$kotlinVersion")
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,23 +0,0 @@
|
|||||||
pluginManagement {
|
|
||||||
val rootProperties = java.util.Properties().apply {
|
|
||||||
rootDir.resolve("../gradle.properties").reader().use(::load)
|
|
||||||
}
|
|
||||||
|
|
||||||
val kotlinVersion: String by rootProperties
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
maven(project.bootstrapKotlinRepo)
|
|
||||||
maven("https://cache-redirector.jetbrains.com/maven-central")
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
|
|
||||||
resolutionStrategy {
|
|
||||||
eachPlugin {
|
|
||||||
if (requested.id.id == "kotlin") {
|
|
||||||
useModule("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
rootProject.name = "kotlin-native-shared"
|
|
||||||
Reference in New Issue
Block a user