2019-10-07 14:52:58 +03:00
|
|
|
plugins {
|
2021-02-23 21:47:18 +03:00
|
|
|
id("ru.mipt.npm.gradle.project")
|
2022-01-07 12:29:43 +03:00
|
|
|
id("org.jetbrains.kotlinx.kover") version "0.5.0-RC"
|
2019-06-30 14:35:54 +03:00
|
|
|
}
|
|
|
|
|
2021-11-30 21:27:08 +03:00
|
|
|
val dataforgeVersion by extra("0.5.2")
|
2021-05-05 15:28:06 +03:00
|
|
|
val fxVersion by extra("11")
|
2020-11-15 15:00:54 +03:00
|
|
|
|
2022-01-07 12:29:43 +03:00
|
|
|
subprojects {
|
|
|
|
if (name.startsWith("visionforge")) apply<MavenPublishPlugin>()
|
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
repositories {
|
2021-03-01 19:10:15 +03:00
|
|
|
maven("https://repo.kotlin.link")
|
2022-01-07 12:29:43 +03:00
|
|
|
mavenCentral()
|
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"
|
2022-01-07 12:29:43 +03:00
|
|
|
version = "0.2.0-dev-99"
|
2019-12-22 20:56:19 +03:00
|
|
|
|
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 {
|
|
|
|
ignoredPackages.add("info.laht.threekt")
|
2021-08-18 11:39:37 +03:00
|
|
|
}
|
|
|
|
|
2022-01-07 12:29:43 +03:00
|
|
|
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|
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) {
|
2021-11-24 12:28:41 +03:00
|
|
|
rootProject.the<org.jetbrains.kotlin.gradle.targets.js.nodejs.NodeJsRootExtension>().versions.apply {
|
|
|
|
webpack.version = "5.64.3"
|
|
|
|
webpackDevServer.version = "4.5.0"
|
|
|
|
}
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|