0.11.6 #45
@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||||||
### Deprecated
|
### Deprecated
|
||||||
|
|
||||||
### Removed
|
### Removed
|
||||||
|
- Atomicfu support inside the plugin
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
@ -28,7 +28,6 @@ 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)
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
[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.2"
|
atomicfu = "0.17.3"
|
||||||
binary-compatibility-validator = "0.9.0"
|
binary-compatibility-validator = "0.9.0"
|
||||||
changelog = "1.3.1"
|
changelog = "1.3.1"
|
||||||
dokka = "1.6.21"
|
dokka = "1.6.21"
|
||||||
|
@ -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