From 1c23413f7d7ea32b2984e896463fce58660afa74 Mon Sep 17 00:00:00 2001 From: Art Shendrik Date: Sun, 5 May 2024 22:53:28 +0100 Subject: [PATCH] feat!: BCV 0.15.0, Kotlin 2.0 Signed-off-by: Art Shendrik --- ...ne.run.xml => detektBaselineMerge.run.xml} | 4 +- CHANGELOG.md | 17 +- README.md | 45 +- baseline | 14 - build.gradle.kts | 2 + checks/js-only/api/check-js-only.d.ts | 2 +- checks/js-only/dependencies/classpath.txt | 61 +- .../gradle/wrapper/gradle-wrapper.properties | 4 +- checks/js-only/gradlew | 31 +- checks/js-only/gradlew.bat | 20 +- checks/js-only/kotlin-js-store/yarn.lock | 104 +- checks/js-only/settings.gradle.kts | 1 - checks/latest/api/check-latest.api | 14 +- ...check-latest.d.ts => check-latest.js.d.ts} | 6 + checks/latest/api/check-latest.klib.api | 23 + checks/latest/api/check-latest.wasmJs.d.ts | 5 + checks/latest/build.gradle.kts | 21 +- checks/latest/dependencies/classpath.txt | 48 +- checks/latest/kotlin-js-store/yarn.lock | 1150 ++++++++++------- checks/latest/settings.gradle.kts | 1 - .../src/commonMain/kotlin/example/Example.kt | 22 + .../kotlin/example/ExampleDataClass.kt | 0 dependencies/classpath.txt | 193 ++- fluxo-bcv-js/api/plugin.api | 2 +- fluxo-bcv-js/build.gradle.kts | 14 +- .../dependencies/compileClasspath.txt | 19 +- fluxo-bcv-js/detekt-baseline.xml | 10 +- .../kotlin/fluxo/bcvjs/ConfigureJsApiTasks.kt | 509 -------- .../main/kotlin/fluxo/bcvjs/TargetConfig.kt | 39 - .../kotlin/fluxo/bcvts/CompatibilityUtils.kt | 214 +++ .../kotlin/fluxo/bcvts/ConfigureTsApiTasks.kt | 401 ++++++ .../fluxo/{bcvjs => bcvts}/DirConfig.kt | 2 +- .../FluxoBcvTsPlugin.kt} | 21 +- .../kotlin/fluxo/bcvts/FluxoBcvTsState.kt | 15 + .../main/kotlin/fluxo/bcvts/GradleUtils.kt | 86 ++ .../KotlinTsApiBuildTask.kt} | 29 +- .../KotlinTsApiCompareTask.kt} | 65 +- .../main/kotlin/fluxo/bcvts/TargetConfig.kt | 37 + .../fluxo/bcvts/ValidateKotlinVersion.kt | 46 + gradle.properties | 10 + gradle/libs.versions.toml | 24 +- gradle/wrapper/gradle-wrapper.properties | 6 +- gradlew | 2 +- settings.gradle.kts | 21 +- updateBaseline | 48 + 45 files changed, 2099 insertions(+), 1309 deletions(-) rename .run/{detektBaseline.run.xml => detektBaselineMerge.run.xml} (81%) delete mode 100644 baseline rename checks/latest/api/{check-latest.d.ts => check-latest.js.d.ts} (67%) create mode 100644 checks/latest/api/check-latest.klib.api create mode 100644 checks/latest/api/check-latest.wasmJs.d.ts create mode 100644 checks/latest/src/commonMain/kotlin/example/Example.kt rename checks/latest/src/{commonMain => jsMain}/kotlin/example/ExampleDataClass.kt (100%) delete mode 100644 fluxo-bcv-js/src/main/kotlin/fluxo/bcvjs/ConfigureJsApiTasks.kt delete mode 100644 fluxo-bcv-js/src/main/kotlin/fluxo/bcvjs/TargetConfig.kt create mode 100644 fluxo-bcv-js/src/main/kotlin/fluxo/bcvts/CompatibilityUtils.kt create mode 100644 fluxo-bcv-js/src/main/kotlin/fluxo/bcvts/ConfigureTsApiTasks.kt rename fluxo-bcv-js/src/main/kotlin/fluxo/{bcvjs => bcvts}/DirConfig.kt (96%) rename fluxo-bcv-js/src/main/kotlin/fluxo/{bcvjs/FluxoBcvJsPlugin.kt => bcvts/FluxoBcvTsPlugin.kt} (66%) create mode 100644 fluxo-bcv-js/src/main/kotlin/fluxo/bcvts/FluxoBcvTsState.kt create mode 100644 fluxo-bcv-js/src/main/kotlin/fluxo/bcvts/GradleUtils.kt rename fluxo-bcv-js/src/main/kotlin/fluxo/{bcvjs/KotlinJsApiBuildTask.kt => bcvts/KotlinTsApiBuildTask.kt} (76%) rename fluxo-bcv-js/src/main/kotlin/fluxo/{bcvjs/KotlinJsApiCompareTask.kt => bcvts/KotlinTsApiCompareTask.kt} (55%) create mode 100644 fluxo-bcv-js/src/main/kotlin/fluxo/bcvts/TargetConfig.kt create mode 100644 fluxo-bcv-js/src/main/kotlin/fluxo/bcvts/ValidateKotlinVersion.kt create mode 100644 updateBaseline diff --git a/.run/detektBaseline.run.xml b/.run/detektBaselineMerge.run.xml similarity index 81% rename from .run/detektBaseline.run.xml rename to .run/detektBaselineMerge.run.xml index 5cf20de..f871cb6 100644 --- a/.run/detektBaseline.run.xml +++ b/.run/detektBaselineMerge.run.xml @@ -1,5 +1,5 @@ - +