2019-10-07 14:52:58 +03:00
|
|
|
plugins {
|
2021-02-23 21:47:18 +03:00
|
|
|
id("ru.mipt.npm.gradle.project")
|
2021-08-25 18:04:15 +03:00
|
|
|
kotlin("multiplatform") version "1.5.30" apply false
|
|
|
|
kotlin("js") version "1.5.30" apply false
|
2019-06-30 14:35:54 +03:00
|
|
|
}
|
|
|
|
|
2021-08-14 21:31:36 +03:00
|
|
|
val dataforgeVersion by extra("0.5.1")
|
2021-05-05 15:28:06 +03:00
|
|
|
val fxVersion by extra("11")
|
2020-11-15 15:00:54 +03:00
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2021-08-07 11:27:57 +03:00
|
|
|
mavenLocal()
|
2021-02-23 21:47:18 +03:00
|
|
|
mavenCentral()
|
2021-03-01 19:10:15 +03:00
|
|
|
maven("https://repo.kotlin.link")
|
2021-05-05 15:28:06 +03:00
|
|
|
maven("https://maven.jzy3d.org/releases")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
|
2021-03-07 19:22:30 +03:00
|
|
|
group = "space.kscience"
|
2021-09-11 14:26:21 +03:00
|
|
|
version = "0.2.0-dev-24"
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
subprojects {
|
2021-02-23 21:47:18 +03:00
|
|
|
if (name.startsWith("visionforge")) {
|
2021-03-07 16:19:43 +03:00
|
|
|
plugins.apply("maven-publish")
|
2020-10-02 19:09:25 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-08-07 11:27:57 +03:00
|
|
|
ksciencePublish {
|
2021-03-07 16:19:43 +03:00
|
|
|
github("visionforge")
|
|
|
|
space()
|
|
|
|
sonatype()
|
|
|
|
}
|
|
|
|
|
2020-10-02 19:09:25 +03:00
|
|
|
apiValidation {
|
|
|
|
validationDisabled = true
|
|
|
|
ignoredPackages.add("info.laht.threekt")
|
2021-08-18 11:39:37 +03:00
|
|
|
}
|
|
|
|
|
2021-08-18 23:02:17 +03:00
|
|
|
|
2021-08-20 20:25:19 +03:00
|
|
|
//workaround for https://youtrack.jetbrains.com/issue/KT-48273
|
|
|
|
rootProject.plugins.withType(org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootPlugin::class.java) {
|
|
|
|
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().versions.webpackDevServer.version = "4.0.0"
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|