0.7.5; Update versions

This commit is contained in:
Alexander Nozik 2021-02-03 20:13:22 +03:00
parent f1fa7e96b5
commit b3dfe75154
7 changed files with 36 additions and 28 deletions

View File

@ -7,12 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Added
- Ktor version to versions
### Changed
- Kotlin to 1.4.30 stable
- Added intermediate jsCommon main/test sourcesSet for node plugin
### Deprecated
### Removed
- kaml
### Fixed

View File

@ -6,7 +6,7 @@ plugins {
}
group = "ru.mipt.npm"
version = "0.7.4"
version = "0.7.5"
repositories {
gradlePluginPortal()
@ -16,7 +16,7 @@ repositories {
maven("https://dl.bintray.com/kotlin/kotlin-dev")
}
val kotlinVersion = "1.4.30-RC"
val kotlinVersion = "1.4.30"
java {
targetCompatibility = JavaVersion.VERSION_1_8
@ -26,11 +26,11 @@ java {
dependencies {
implementation("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlinVersion")
implementation("org.jetbrains.kotlin:kotlin-serialization:$kotlinVersion")
implementation("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.15.0")
implementation("org.jetbrains.kotlinx:atomicfu-gradle-plugin:0.15.1")
implementation("org.jetbrains.dokka:dokka-gradle-plugin:1.4.20")
implementation("org.jetbrains.dokka:dokka-base:1.4.20")
implementation("org.jetbrains.intellij.plugins:gradle-changelog-plugin:1.0.0")
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.2.4")
implementation("org.jetbrains.kotlinx:binary-compatibility-validator:0.4.0")
}
gradlePlugin {

View File

@ -1,5 +1,5 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-6.7.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-6.8.1-bin.zip
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists

View File

@ -39,14 +39,13 @@ class KScienceNativePlugin : Plugin<Project> {
sourceSets{
val commonMain by getting
val commonTest by getting
val nativeMain by creating{
dependsOn(commonMain)
}
val commonTest by getting
val nativeTest by creating{
//dependsOn(nativeMain)
dependsOn(commonTest)
}

View File

@ -26,18 +26,33 @@ class KScienceNodePlugin : Plugin<Project> {
}
sourceSets {
val commonMain by getting
val nodeMain by creating {
val commonTest by getting
val jsCommonMain by creating{
dependsOn(commonMain)
}
val jsCommonTest by creating{
dependsOn(commonTest)
}
val jsMain by getting{
dependsOn(jsCommonMain)
}
val jsTest by getting{
dependsOn(jsCommonTest)
}
val nodeMain by creating {
dependsOn(jsCommonMain)
dependencies{
api("org.jetbrains.kotlinx:kotlinx-nodejs:${KScienceVersions.kotlinxNodeVersion}")
}
}
val commonTest by getting
val nodeTest by creating {
dependsOn(nodeMain)
dependsOn(commonTest)
dependsOn(jsCommonTest)
}
}
}

View File

@ -6,17 +6,18 @@ import org.gradle.api.JavaVersion
* Build constants
*/
object KScienceVersions {
const val kotlinVersion = "1.4.21"
const val kotlinVersion = "1.4.30"
const val kotlinxNodeVersion = "0.0.7"
const val coroutinesVersion = "1.4.2"
const val serializationVersion = "1.0.1"
const val atomicVersion = "0.14.4"
const val serializationVersion = "1.1.0-RC"
const val atomicVersion = "0.15.1"
const val ktorVersion = "1.5.1"
val JVM_TARGET = JavaVersion.VERSION_11
object Serialization{
const val xmlVersion = "0.80.1"
const val bsonVersion = "0.4.4"
const val yamlKtVersion = "0.7.6"
const val yamlKtVersion = "0.8.0"
}
}

View File

@ -54,17 +54,6 @@ class SerializationTargets(
)
}
@Deprecated("Use multiplatform yamlKt instead")
fun Project.yaml(
version: String = KScienceVersions.Serialization.yamlVersion
) {
useDependency(
"jvm" to "com.charleskorn.kaml:kaml:$version",
dependencySourceSet = sourceSet,
dependencyConfiguration = configuration
)
}
fun Project.yamlKt(
version: String = KScienceVersions.Serialization.yamlKtVersion
) {