Fix JS distribution name
This commit is contained in:
parent
bf3252dbd6
commit
b659d0312a
@ -35,6 +35,6 @@ val Project.jsDistDirectory: File
|
|||||||
).joinToString("-")
|
).joinToString("-")
|
||||||
|
|
||||||
return buildDir.resolve(
|
return buildDir.resolve(
|
||||||
"distributions/$distributionName}"
|
"distributions/$distributionName"
|
||||||
)
|
)
|
||||||
}
|
}
|
@ -5,6 +5,8 @@ import kotlinx.atomicfu.plugin.gradle.sourceSets
|
|||||||
import org.gradle.api.Project
|
import org.gradle.api.Project
|
||||||
import org.gradle.kotlin.dsl.findByType
|
import org.gradle.kotlin.dsl.findByType
|
||||||
import org.gradle.kotlin.dsl.invoke
|
import org.gradle.kotlin.dsl.invoke
|
||||||
|
import org.gradle.kotlin.dsl.maven
|
||||||
|
import org.gradle.kotlin.dsl.repositories
|
||||||
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
|
import org.jetbrains.kotlin.gradle.dsl.KotlinMultiplatformExtension
|
||||||
|
|
||||||
enum class DependencyConfiguration {
|
enum class DependencyConfiguration {
|
||||||
@ -106,10 +108,13 @@ class SerializationTargets(
|
|||||||
fun Project.xml(
|
fun Project.xml(
|
||||||
version: String = Scientifik.Serialization.xmlVersion
|
version: String = Scientifik.Serialization.xmlVersion
|
||||||
) {
|
) {
|
||||||
|
repositories {
|
||||||
|
maven("https://dl.bintray.com/pdvrieze/maven")
|
||||||
|
}
|
||||||
useDependency(
|
useDependency(
|
||||||
"common" to "net.devrieze:xmlutil:$version",
|
"common" to "net.devrieze:xmlutil-serialization:$version",
|
||||||
"jvm" to "net.devrieze:xmlutil:$version",
|
"jvm" to "net.devrieze:xmlutil-serialization:$version",
|
||||||
"js" to "net.devrieze:xmlutil:$version",
|
"js" to "net.devrieze:xmlutil-serialization:$version",
|
||||||
dependencySourceSet = sourceSet,
|
dependencySourceSet = sourceSet,
|
||||||
dependencyConfiguration = configuration
|
dependencyConfiguration = configuration
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user