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:
Nikita Bobko
2022-08-08 12:47:19 +02:00
parent 70ed76e0bd
commit 837d100cda
2 changed files with 2 additions and 25 deletions
+2 -2
View File
@@ -51,8 +51,8 @@ tasks.jar {
dependencies {
kotlinCompilerClasspath("org.jetbrains.kotlin:kotlin-compiler-embeddable:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-stdlib:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-reflect:$kotlinVersion")
implementation(kotlinStdlib())
implementation(project(":kotlin-reflect"))
api("org.jetbrains.kotlin:kotlin-native-utils:$kotlinVersion")
api("org.jetbrains.kotlin:kotlin-util-klib:$kotlinVersion")
}
-23
View File
@@ -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"