2020-10-02 19:09:25 +03:00
|
|
|
import ru.mipt.npm.gradle.useFx
|
2019-03-08 11:55:01 +03:00
|
|
|
|
2019-10-07 14:52:58 +03:00
|
|
|
plugins {
|
2020-10-02 19:09:25 +03:00
|
|
|
id("ru.mipt.npm.project")
|
2019-06-30 14:35:54 +03:00
|
|
|
}
|
|
|
|
|
2020-10-28 22:11:28 +03:00
|
|
|
val dataforgeVersion by extra("0.2.0-dev-4")
|
2020-10-02 19:09:25 +03:00
|
|
|
val ktorVersion by extra("1.4.1")
|
2020-10-31 10:04:23 +03:00
|
|
|
val kotlinWrappersVersion by extra("pre.129-kotlin-1.4.10")
|
2020-10-02 19:09:25 +03:00
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
allprojects {
|
|
|
|
repositories {
|
2019-10-30 16:39:01 +03:00
|
|
|
mavenLocal()
|
2019-07-21 18:21:13 +03:00
|
|
|
maven("https://dl.bintray.com/pdvrieze/maven")
|
2019-10-07 14:52:58 +03:00
|
|
|
maven("http://maven.jzy3d.org/releases")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
group = "hep.dataforge"
|
2020-10-31 10:04:23 +03:00
|
|
|
version = "0.2.0-dev-2"
|
2019-12-22 20:56:19 +03:00
|
|
|
}
|
|
|
|
|
2020-08-05 22:03:47 +03:00
|
|
|
val githubProject by extra("visionforge")
|
2019-07-14 22:08:15 +03:00
|
|
|
val bintrayRepo by extra("dataforge")
|
2020-03-16 22:24:57 +03:00
|
|
|
val fxVersion by extra("14")
|
2019-07-14 22:08:15 +03:00
|
|
|
|
2019-03-08 11:55:01 +03:00
|
|
|
subprojects {
|
2020-08-05 22:03:47 +03:00
|
|
|
if(name.startsWith("visionforge")) {
|
2020-10-02 19:09:25 +03:00
|
|
|
apply<ru.mipt.npm.gradle.KSciencePublishPlugin>()
|
|
|
|
}
|
|
|
|
afterEvaluate {
|
|
|
|
extensions.findByType<ru.mipt.npm.gradle.KScienceExtension>()?.run {
|
|
|
|
useSerialization()
|
|
|
|
useFx(ru.mipt.npm.gradle.FXModule.CONTROLS, version = fxVersion)
|
|
|
|
}
|
2020-03-16 22:24:57 +03:00
|
|
|
}
|
2020-10-02 19:09:25 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
apiValidation {
|
|
|
|
validationDisabled = true
|
|
|
|
ignoredPackages.add("info.laht.threekt")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|