0.9.0 #11

Merged
altavir merged 18 commits from dev into master 2021-03-07 09:59:51 +03:00
2 changed files with 12 additions and 3 deletions
Showing only changes of commit 76fd9dfa57 - Show all commits

View File

@ -21,6 +21,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [0.8.4] ## [0.8.4]
### Added ### Added
- Adaptive support for host OS in native - Adaptive support for host OS in native
- CSS support for JS targets
### Changed ### Changed
- Kotlin 1.4.31 - Kotlin 1.4.31
- Coroutines 1.4.3 - Coroutines 1.4.3

View File

@ -11,7 +11,6 @@ import org.jetbrains.kotlin.gradle.dsl.KotlinJvmCompile
import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension import org.jetbrains.kotlin.gradle.dsl.KotlinJvmProjectExtension
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
import ru.mipt.npm.gradle.internal.applyRepos import ru.mipt.npm.gradle.internal.applyRepos
import ru.mipt.npm.gradle.internal.applySettings
import ru.mipt.npm.gradle.internal.fromJsDependencies import ru.mipt.npm.gradle.internal.fromJsDependencies
open class KScienceCommonPlugin : Plugin<Project> { open class KScienceCommonPlugin : Plugin<Project> {
@ -62,7 +61,11 @@ open class KScienceCommonPlugin : Plugin<Project> {
explicitApiWarning() explicitApiWarning()
js(IR) { js(IR) {
browser() browser{
commonWebpackConfig {
cssSupport.enabled = true
}
}
} }
sourceSets["main"].apply { sourceSets["main"].apply {
@ -97,7 +100,11 @@ open class KScienceCommonPlugin : Plugin<Project> {
} }
js(IR) { js(IR) {
browser() browser{
commonWebpackConfig {
cssSupport.enabled = true
}
}
} }
sourceSets.invoke { sourceSets.invoke {