Skip to content

Commit df2e452

Browse files
committed
Move resources from /src to separate /resources directory.
Previously this files was stored in /src directory and was included in resources mainly by SourceSet.projectDefault from sourceSets.kt: val processResources = tasks.getByName(processResourcesTaskName) as ProcessResources processResources.from("resources") { include("**") } processResources.from("src") { include("META-INF/**", "**/*.properties") } Also there are some custom rules like this: resources.srcDir("../idea-analysis/src").apply { include("**/*.properties") } resources.srcDirs("idea-repl/src").apply { include("META-INF/**") } All this rules are synthesized in script https://github.com/snrostov/kotlin-migrate-resources/blob/master/src/main/kotlin/main.kt This commit created using that script. See README.md for more details on script.
1 parent 093b9d1 commit df2e452

File tree

94 files changed

+0
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+0
-0
lines changed

compiler/backend/src/META-INF/services/org.jetbrains.kotlin.resolve.jvm.jvmSignature.KotlinToJvmSignatureMapper renamed to compiler/backend/resources/META-INF/services/org.jetbrains.kotlin.resolve.jvm.jvmSignature.KotlinToJvmSignatureMapper

File renamed without changes.

compiler/cli/src/META-INF/services/org.jetbrains.kotlin.diagnostics.rendering.DefaultErrorMessages$Extension renamed to compiler/cli/resources/META-INF/services/org.jetbrains.kotlin.diagnostics.rendering.DefaultErrorMessages$Extension

File renamed without changes.

compiler/cli/src/META-INF/services/org.jetbrains.kotlin.util.ModuleVisibilityHelper renamed to compiler/cli/resources/META-INF/services/org.jetbrains.kotlin.util.ModuleVisibilityHelper

File renamed without changes.

compiler/frontend.script/src/META-INF/services/org.jetbrains.kotlin.script.ScriptHelper renamed to compiler/frontend.script/resources/META-INF/services/org.jetbrains.kotlin.script.ScriptHelper

File renamed without changes.

core/descriptors.jvm/src/META-INF/services/org.jetbrains.kotlin.resolve.ExternalOverridabilityCondition renamed to core/descriptors.jvm/resources/META-INF/services/org.jetbrains.kotlin.resolve.ExternalOverridabilityCondition

File renamed without changes.

core/deserialization/src/META-INF/services/org.jetbrains.kotlin.builtins.BuiltInsLoader renamed to core/deserialization/resources/META-INF/services/org.jetbrains.kotlin.builtins.BuiltInsLoader

File renamed without changes.

idea/idea-android/idea-android-output-parser/src/META-INF/services/com.android.ide.common.blame.parser.PatternAwareOutputParser renamed to idea/idea-android/idea-android-output-parser/resources/META-INF/services/com.android.ide.common.blame.parser.PatternAwareOutputParser

File renamed without changes.

idea/kotlin-gradle-tooling/src/META-INF/services/org.jetbrains.plugins.gradle.tooling.ModelBuilderService renamed to idea/kotlin-gradle-tooling/resources/META-INF/services/org.jetbrains.plugins.gradle.tooling.ModelBuilderService

File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)