0.11.6 #45
46
CHANGELOG.md
46
CHANGELOG.md
@ -18,40 +18,44 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
|
|
||||||
### Security
|
### Security
|
||||||
|
|
||||||
|
## [0.11.6-kotlin-1.7.0]
|
||||||
|
### Added
|
||||||
|
|
||||||
|
### Changed
|
||||||
|
|
||||||
|
### Deprecated
|
||||||
|
|
||||||
|
### Removed
|
||||||
|
- Atomicfu support inside the plugin
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
### Security
|
||||||
|
|
||||||
## [0.11.5-kotlin-1.7.0]
|
## [0.11.5-kotlin-1.7.0]
|
||||||
### Added
|
### Added
|
||||||
- Coroutine tests as default dependency for tests
|
- Coroutine tests as default dependency for tests
|
||||||
- Context receiver flag
|
- Context receiver flag
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Separate release tasks for each target
|
- Separate release tasks for each target
|
||||||
- Kotlin 1.7.0
|
- Kotlin 1.7.0
|
||||||
- Ktor 2.0.1
|
- Ktor 2.0.1
|
||||||
- ExplicitAPI does not override existing value
|
- ExplicitAPI does not override existing value
|
||||||
|
|
||||||
|
|
||||||
### Deprecated
|
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Ktor specific artifacts from version catalog
|
- Ktor specific artifacts from version catalog
|
||||||
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Moved signing out of sonatype block
|
- Moved signing out of sonatype block
|
||||||
|
|
||||||
|
|
||||||
### Security
|
|
||||||
|
|
||||||
## [0.11.1-kotlin-1.6.10]
|
## [0.11.1-kotlin-1.6.10]
|
||||||
### Added
|
### Added
|
||||||
- Default templates for README and ARTIFACT
|
- Default templates for README and ARTIFACT
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Replaced Groovy templates by FreeMarker
|
- Replaced Groovy templates by FreeMarker
|
||||||
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- JS publication sources jar
|
- JS publication sources jar
|
||||||
|
|
||||||
@ -59,13 +63,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
- html builders for readme
|
- html builders for readme
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Kotlin 1.6.0
|
- Kotlin 1.6.0
|
||||||
- Use indy lambdas by default #32
|
- Use indy lambdas by default #32
|
||||||
- Change version scheme to `<version>-kotlin-<kotlin version>`
|
- Change version scheme to `<version>-kotlin-<kotlin version>`
|
||||||
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- remove `nativeMain` dependency from `nativeTest`
|
- remove `nativeMain` dependency from `nativeTest`
|
||||||
|
|
||||||
@ -73,7 +75,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Changed
|
### Changed
|
||||||
- Kotlin 1.6
|
- Kotlin 1.6
|
||||||
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Some issues with opt-ins
|
- Some issues with opt-ins
|
||||||
|
|
||||||
@ -81,11 +82,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
- Experimental automatic JS project bundling in MPP
|
- Experimental automatic JS project bundling in MPP
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Remove vcs requirement for Space publication
|
- Remove vcs requirement for Space publication
|
||||||
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
-Release task (#19)
|
-Release task (#19)
|
||||||
|
|
||||||
@ -95,12 +94,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- BOM for kotlin-wrappers on JS
|
- BOM for kotlin-wrappers on JS
|
||||||
- Jupyter loader
|
- Jupyter loader
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- API validation disabled for dev versions
|
- API validation disabled for dev versions
|
||||||
- Kotlin plugins are propagated downstream
|
- Kotlin plugins are propagated downstream
|
||||||
|
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- bson support
|
- bson support
|
||||||
|
|
||||||
@ -109,18 +106,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Disable API validation for snapshots
|
- Disable API validation for snapshots
|
||||||
- `-Xjvm-default=all` on JVM
|
- `-Xjvm-default=all` on JVM
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- `publication.platform` changed to `publishing.platform`
|
- `publication.platform` changed to `publishing.platform`
|
||||||
- Dokka version to `1.4.30`
|
- Dokka version to `1.4.30`
|
||||||
- `useDateTime` in extension
|
- `useDateTime` in extension
|
||||||
- Kotlin 1.5
|
- Kotlin 1.5
|
||||||
|
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Publish plugin. Use MavenPublish instead
|
- Publish plugin. Use MavenPublish instead
|
||||||
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Removed unnecessary `afterEvaluate` for compatibility with gradle 7.0
|
- Removed unnecessary `afterEvaluate` for compatibility with gradle 7.0
|
||||||
|
|
||||||
@ -128,16 +122,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Added
|
### Added
|
||||||
- Skip sonatype publishing for dev versions
|
- Skip sonatype publishing for dev versions
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Publishing repositories are explicit and defined in the top level project
|
- Publishing repositories are explicit and defined in the top level project
|
||||||
- Paths to publishing properties now use dot notation like `publishing.github.user`
|
- Paths to publishing properties now use dot notation like `publishing.github.user`
|
||||||
|
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
- Publishing plugin
|
- Publishing plugin
|
||||||
|
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- Bintray publishing
|
- Bintray publishing
|
||||||
|
|
||||||
@ -146,12 +137,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Adaptive support for host OS in native
|
- Adaptive support for host OS in native
|
||||||
- CSS support for JS targets
|
- CSS support for JS targets
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Kotlin 1.4.31
|
- Kotlin 1.4.31
|
||||||
- Coroutines 1.4.3
|
- Coroutines 1.4.3
|
||||||
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Plugin loading order for publishing
|
- Plugin loading order for publishing
|
||||||
- Release task
|
- Release task
|
||||||
@ -163,7 +152,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Add sonatype publishing
|
- Add sonatype publishing
|
||||||
- Per-platform release publishing
|
- Per-platform release publishing
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Kotlin to 1.4.30 stable.
|
- Kotlin to 1.4.30 stable.
|
||||||
- Added intermediate jsCommon main/test sourcesSet for node plugin.
|
- Added intermediate jsCommon main/test sourcesSet for node plugin.
|
||||||
@ -171,11 +159,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Common plugin id changed to `common`
|
- Common plugin id changed to `common`
|
||||||
- Plugins group changed to `ru.mipt.npm` with `gradle` prefix
|
- Plugins group changed to `ru.mipt.npm` with `gradle` prefix
|
||||||
|
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- kaml
|
- kaml
|
||||||
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
- Fix publishing load order for sonatype
|
- Fix publishing load order for sonatype
|
||||||
- Fix root project readme
|
- Fix root project readme
|
||||||
@ -189,7 +175,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Moved all logic to a common plugin, leaving only proxies for platform plugins
|
- Moved all logic to a common plugin, leaving only proxies for platform plugins
|
||||||
- Suppress API validation for modules with maturity below DEVELOPMENT
|
- Suppress API validation for modules with maturity below DEVELOPMENT
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
- Remove node plugin. Node binaries should be turned on manually.
|
- Remove node plugin. Node binaries should be turned on manually.
|
||||||
- Use default webpack distribution path.
|
- Use default webpack distribution path.
|
||||||
@ -200,12 +185,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Moved internals to internals
|
- Moved internals to internals
|
||||||
- Kotlin 1.4.30-RC
|
- Kotlin 1.4.30-RC
|
||||||
|
|
||||||
|
|
||||||
### Deprecated
|
### Deprecated
|
||||||
- Support of `kaml` and `snake-yaml` in favor of `yamlKt`
|
- Support of `kaml` and `snake-yaml` in favor of `yamlKt`
|
||||||
- Publish plugin
|
- Publish plugin
|
||||||
|
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
- `useDokka` method. Documentation jar should be added manually if needed.
|
- `useDokka` method. Documentation jar should be added manually if needed.
|
||||||
|
|
||||||
@ -216,7 +199,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
- Add `application()` toggle in plugin configuration to produce binaries on JS and applicaion plugin on jvm.
|
- Add `application()` toggle in plugin configuration to produce binaries on JS and applicaion plugin on jvm.
|
||||||
- Add `publish` to expose publishing configuration.
|
- Add `publish` to expose publishing configuration.
|
||||||
|
|
||||||
|
|
||||||
### Changed
|
### Changed
|
||||||
-Publishing in bintray now is automatic.
|
-Publishing in bintray now is automatic.
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
plugins {
|
plugins {
|
||||||
alias(libs.plugins.changelog)
|
alias(libs.plugins.changelog)
|
||||||
alias(libs.plugins.dokka)
|
alias(libs.plugins.dokka)
|
||||||
alias(libs.plugins.kotlin.jvm)
|
//alias(libs.plugins.kotlin.jvm) apply false
|
||||||
`java-gradle-plugin`
|
`java-gradle-plugin`
|
||||||
`kotlin-dsl`
|
`kotlin-dsl`
|
||||||
`maven-publish`
|
`maven-publish`
|
||||||
@ -28,12 +28,11 @@ kotlin.explicitApiWarning()
|
|||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(libs.kotlin.gradle)
|
api(libs.kotlin.gradle)
|
||||||
implementation(libs.atomicfu.gradle)
|
|
||||||
implementation(libs.binary.compatibility.validator)
|
implementation(libs.binary.compatibility.validator)
|
||||||
implementation(libs.changelog.gradle)
|
implementation(libs.changelog.gradle)
|
||||||
implementation(libs.dokka.gradle)
|
implementation(libs.dokka.gradle)
|
||||||
implementation(libs.kotlin.jupyter.gradle)
|
implementation(libs.kotlin.jupyter.gradle)
|
||||||
implementation(libs.kotlin.serialization)
|
//implementation(libs.kotlin.serialization)
|
||||||
implementation(libs.kotlinx.html)
|
implementation(libs.kotlinx.html)
|
||||||
implementation("org.tomlj:tomlj:1.0.0")
|
implementation("org.tomlj:tomlj:1.0.0")
|
||||||
// // nexus publishing plugin
|
// // nexus publishing plugin
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
[versions]
|
[versions]
|
||||||
tools = "0.11.5-kotlin-1.7.0"
|
tools = "0.11.6-kotlin-1.7.0"
|
||||||
kotlin = "1.7.0"
|
kotlin = "1.7.0"
|
||||||
atomicfu = "0.17.3"
|
atomicfu = "0.17.3"
|
||||||
binary-compatibility-validator = "0.9.0"
|
binary-compatibility-validator = "0.9.0"
|
||||||
|
@ -1,6 +1,5 @@
|
|||||||
package ru.mipt.npm.gradle
|
package ru.mipt.npm.gradle
|
||||||
|
|
||||||
import kotlinx.atomicfu.plugin.gradle.AtomicFUGradlePlugin
|
|
||||||
import org.gradle.api.Project
|
import org.gradle.api.Project
|
||||||
import org.gradle.api.plugins.ApplicationPlugin
|
import org.gradle.api.plugins.ApplicationPlugin
|
||||||
import org.gradle.kotlin.dsl.apply
|
import org.gradle.kotlin.dsl.apply
|
||||||
@ -57,22 +56,6 @@ public class KScienceExtension(public val project: Project) {
|
|||||||
dependencyConfiguration = configuration
|
dependencyConfiguration = configuration
|
||||||
)
|
)
|
||||||
|
|
||||||
/**
|
|
||||||
* Use kotlinx-atomicfu plugin and library
|
|
||||||
*/
|
|
||||||
public fun useAtomic(
|
|
||||||
version: String = KScienceVersions.atomicVersion,
|
|
||||||
sourceSet: DependencySourceSet = DependencySourceSet.MAIN,
|
|
||||||
configuration: DependencyConfiguration = DependencyConfiguration.IMPLEMENTATION,
|
|
||||||
): Unit = project.run {
|
|
||||||
apply<AtomicFUGradlePlugin>()
|
|
||||||
useCommonDependency(
|
|
||||||
"org.jetbrains.kotlinx:atomicfu:$version",
|
|
||||||
dependencySourceSet = sourceSet,
|
|
||||||
dependencyConfiguration = configuration
|
|
||||||
)
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Use core serialization library and configure targets
|
* Use core serialization library and configure targets
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user