0.11.6 #45
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
### Deprecated
|
||||
|
||||
### Removed
|
||||
- Atomicfu support inside the plugin
|
||||
|
||||
### Fixed
|
||||
|
||||
|
@ -28,7 +28,6 @@ kotlin.explicitApiWarning()
|
||||
|
||||
dependencies {
|
||||
api(libs.kotlin.gradle)
|
||||
implementation(libs.atomicfu.gradle)
|
||||
implementation(libs.binary.compatibility.validator)
|
||||
implementation(libs.changelog.gradle)
|
||||
implementation(libs.dokka.gradle)
|
||||
|
@ -1,7 +1,7 @@
|
||||
[versions]
|
||||
tools = "0.11.5-kotlin-1.7.0"
|
||||
tools = "0.11.6-kotlin-1.7.0"
|
||||
kotlin = "1.7.0"
|
||||
atomicfu = "0.17.2"
|
||||
atomicfu = "0.17.3"
|
||||
binary-compatibility-validator = "0.9.0"
|
||||
changelog = "1.3.1"
|
||||
dokka = "1.6.21"
|
||||
|
@ -1,6 +1,5 @@
|
||||
package ru.mipt.npm.gradle
|
||||
|
||||
import kotlinx.atomicfu.plugin.gradle.AtomicFUGradlePlugin
|
||||
import org.gradle.api.Project
|
||||
import org.gradle.api.plugins.ApplicationPlugin
|
||||
import org.gradle.kotlin.dsl.apply
|
||||
@ -57,22 +56,6 @@ public class KScienceExtension(public val project: Project) {
|
||||
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
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user