Skip to content

Commit

Permalink
fix(build): remove redundant Kotlin JS DOM API exclusion
Browse files Browse the repository at this point in the history
- Delete obsolete configuration block from build.gradle.kts
- Update CHANGELOG.md accordingly

It caused an error:
KLIB resolver: Could not find "org.jetbrains.kotlin:kotlin-dom-api-compat" in [/Users/art/Library/Application Support/kotlin/daemon]

Signed-off-by: Art Shendrik <[email protected]>
  • Loading branch information
amal committed Nov 26, 2024
1 parent 0c14a71 commit a473900
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 12 deletions.
3 changes: 0 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@

[//]: # (Removed, Added, Changed, Fixed, Updated)

### Fixed
- Exclude Kotlin JS DOM API dependency (redundant).


## [0.1.0] - 2024-11-26

Expand Down
9 changes: 0 additions & 9 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,6 @@ kover.reports {
}

allprojects {
// Exclude unused DOM API.
configurations.all {
resolutionStrategy.eachDependency {
if (requested.module.name == "kotlin-dom-api-compat") {
useTarget(libs.kotlin.stdlib.js)
}
}
}

// FIXME: Setup automatically.
plugins.withType<org.jetbrains.dokka.gradle.DokkaPlugin> {
tasks.withType<org.jetbrains.dokka.gradle.DokkaTask>().configureEach {
Expand Down
1 change: 1 addition & 0 deletions fluxo-io-rad/dependencies/jsCompileClasspath.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
org.jetbrains.kotlin:kotlin-dom-api-compat:2.0.21
org.jetbrains.kotlin:kotlin-stdlib-js:2.0.21
org.jetbrains.kotlin:kotlin-stdlib:2.0.21
org.jetbrains.kotlin:kotlinx-atomicfu-runtime:2.0.21
Expand Down
1 change: 1 addition & 0 deletions fluxo-io-rad/dependencies/jsRuntimeClasspath.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
org.jetbrains.kotlin:kotlin-dom-api-compat:2.0.21
org.jetbrains.kotlin:kotlin-stdlib-js:2.0.21
org.jetbrains.kotlin:kotlin-stdlib:2.0.21
org.jetbrains.kotlin:kotlinx-atomicfu-runtime:2.0.21
Expand Down

0 comments on commit a473900

Please sign in to comment.