[Build] Remove kotlin-gradle-plugin-compiler-dependencies
We should consider the information from the removed buildscript to resolve KT-61706 ^KT-62650 Fixed
This commit is contained in:
committed by
Space Team
parent
defa0b955b
commit
0333985445
@@ -1,51 +0,0 @@
|
||||
description = "Kotlin Compiler dependencies (used directly in KGP)"
|
||||
|
||||
plugins {
|
||||
`java`
|
||||
}
|
||||
|
||||
// avoid adding new dependencies here
|
||||
val compilerModules = listOf(
|
||||
":compiler:cli", // for MessageRenderer, related to MessageCollector usage
|
||||
":compiler:cli-base", // for kotlinx-benchmark
|
||||
":compiler:cli-common", // for compiler arguments setup, for logging via MessageCollector, CompilerSystemProperties, ExitCode
|
||||
":compiler:compiler.version", // for user projects buildscripts
|
||||
":compiler:config", // for kotlinx-benchmark
|
||||
":compiler:config.jvm", // for K2JVMCompilerArguments initialization
|
||||
":compiler:frontend", // for kotlinx-benchmark
|
||||
":compiler:ir.serialization.common", // for kotlinx-benchmark
|
||||
":compiler:ir.tree", // for PartialLinkageMode (K/N)
|
||||
":compiler:util", // for CommonCompilerArguments initialization, K/N
|
||||
":core:compiler.common", // for kotlinx-benchmark
|
||||
":core:compiler.common.jvm", // for FUS statistics parsing all the compiler arguments, otherwise it fails silently
|
||||
":core:compiler.common.native", // for kotlinx-benchmark
|
||||
":core:descriptors", // for kotlinx-benchmark
|
||||
":core:deserialization", // for kotlinx-benchmark
|
||||
":core:deserialization.common", // for kotlinx-benchmark
|
||||
":core:metadata", // for kotlinx-benchmark
|
||||
":core:util.runtime", // for stdlib extensions
|
||||
":js:js.config", // for k/js task
|
||||
":kotlin-build-common", // for incremental compilation setup
|
||||
)
|
||||
|
||||
dependencies {
|
||||
for (dependency in compilerModules) {
|
||||
embedded(project(dependency)) { isTransitive = false }
|
||||
}
|
||||
embedded(intellijUtilRt()) { isTransitive = false } // for kapt (PathUtil.getJdkClassesRoots)
|
||||
embedded(intellijPlatformUtil()) { isTransitive = false } // for kapt (JavaVersion), KotlinToolRunner (escapeStringCharacters)
|
||||
embedded(intellijPlatformUtilBase()) { isTransitive = false } // for kapt (PathUtil.getJdkClassesRoots)
|
||||
embedded(commonDependency("org.jetbrains.intellij.deps.fastutil:intellij-deps-fastutil")) { isTransitive = false } // for kapt (PathUtil.getJdkClassesRoots)
|
||||
embedded(jpsModelImpl()) { isTransitive = false } // for kapt (PathUtil.getJdkClassesRoots)
|
||||
embedded(protobufLite()) { isTransitive = false } // for kotlinx-benchmark
|
||||
embedded(commonDependency("org.jetbrains.intellij.deps:trove4j")) { isTransitive = false } // for k/js task
|
||||
}
|
||||
|
||||
publish()
|
||||
|
||||
runtimeJar(rewriteDefaultJarDepsToShadedCompiler())
|
||||
|
||||
sourcesJar {
|
||||
dependsOn(":compiler:ir.tree:generateTree")
|
||||
}
|
||||
javadocJar()
|
||||
-29
@@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0"
|
||||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
||||
<modelVersion>4.0.0</modelVersion>
|
||||
<groupId>org.jetbrains.kotlin</groupId>
|
||||
<artifactId>kotlin-gradle-plugin-compiler-dependencies</artifactId>
|
||||
<version>ArtifactsTest.version</version>
|
||||
<name>Kotlin Gradle Plugin Compiler Dependencies</name>
|
||||
<description>Kotlin Compiler dependencies (used directly in KGP)</description>
|
||||
<url>https://kotlinlang.org/</url>
|
||||
<licenses>
|
||||
<license>
|
||||
<name>The Apache License, Version 2.0</name>
|
||||
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||
</license>
|
||||
</licenses>
|
||||
<developers>
|
||||
<developer>
|
||||
<name>Kotlin Team</name>
|
||||
<organization>JetBrains</organization>
|
||||
<organizationUrl>https://www.jetbrains.com</organizationUrl>
|
||||
</developer>
|
||||
</developers>
|
||||
<scm>
|
||||
<connection>scm:git:https://github.com/JetBrains/kotlin.git</connection>
|
||||
<developerConnection>scm:git:https://github.com/JetBrains/kotlin.git</developerConnection>
|
||||
<url>https://github.com/JetBrains/kotlin</url>
|
||||
</scm>
|
||||
</project>
|
||||
@@ -79,7 +79,6 @@ val kotlinGradlePluginAndItsRequired = arrayOf(
|
||||
":kotlin-test-js-runner",
|
||||
":native:kotlin-klib-commonizer-embeddable",
|
||||
":native:kotlin-klib-commonizer-api",
|
||||
":prepare:kotlin-gradle-plugin-compiler-dependencies",
|
||||
":compiler:build-tools:kotlin-build-statistics",
|
||||
":compiler:build-tools:kotlin-build-tools-api",
|
||||
":compiler:build-tools:kotlin-build-tools-impl",
|
||||
|
||||
+1
-2
@@ -270,8 +270,7 @@ include ":kotlin-imports-dumper-compiler-plugin",
|
||||
":wasm:wasm.frontend",
|
||||
":wasm:wasm.config",
|
||||
":repo:codebase-tests",
|
||||
":repo:artifacts-tests",
|
||||
":prepare:kotlin-gradle-plugin-compiler-dependencies"
|
||||
":repo:artifacts-tests"
|
||||
|
||||
include ":kotlin-atomicfu-compiler-plugin",
|
||||
":kotlin-atomicfu-compiler-plugin-embeddable",
|
||||
|
||||
Reference in New Issue
Block a user