File tree 1 file changed +0
-27
lines changed
1 file changed +0
-27
lines changed Original file line number Diff line number Diff line change 3
3
*/
4
4
5
5
6
- import org.gradle.api.internal.artifacts.repositories.resolver.DefaultMutableVariantFilesMetadata
7
6
import org.jetbrains.kotlin.config.KotlinCompilerVersion
8
7
import org.jetbrains.kotlin.gradle.plugin.KotlinPlatformType
9
8
import org.jetbrains.kotlin.gradle.tasks.AbstractKotlinCompile
10
9
import org.jetbrains.kotlin.konan.target.HostManager
11
10
import org.jetbrains.dokka.gradle.DokkaTaskPartial
12
- import org.jetbrains.kotlin.gradle.targets.js.KotlinJsCompilerAttribute
13
11
14
12
import static Projects.*
15
13
@@ -356,29 +354,4 @@ allprojects { subProject ->
356
354
" triggering all sort of incompatible class changes errors" )
357
355
}
358
356
}
359
-
360
- dependencies {
361
- components { component ->
362
- component. withModule(" org.jetbrains.kotlin:atomicfu" ) { ComponentMetadataDetails componentMetadataDetails ->
363
- componentMetadataDetails. withVariant(" runtimeElements" ) { VariantMetadata runtimeElementsVariant ->
364
- [KotlinJsCompilerAttribute . legacy, KotlinJsCompilerAttribute . ir]. forEach { jsType ->
365
- componentMetadataDetails. addVariant(" runtimeJs${ jsType.name().capitalize()} Elements" ) { jsVariant ->
366
- jsVariant. attributes {
367
- it. attribute(KotlinPlatformType . attribute, KotlinPlatformType . js)
368
- it. attribute(KotlinJsCompilerAttribute . jsCompilerAttribute, jsType)
369
- it. attribute(Usage . USAGE_ATTRIBUTE , project. objects. named(Usage , Usage . JAVA_RUNTIME ))
370
- }
371
- runtimeElementsVariant. withFiles { DefaultMutableVariantFilesMetadata runtimeElementsFiles ->
372
- jsVariant. withFiles {
373
- runtimeElementsFiles. files. forEach { file ->
374
- addFile(file. name)
375
- }
376
- }
377
- }
378
- }
379
- }
380
- }
381
- }
382
- }
383
- }
384
357
}
You can’t perform that action at this time.
0 commit comments