2023-05-16 21:12:24 +03:00
|
|
|
import org.jetbrains.kotlin.gradle.dsl.KotlinJsCompile
|
2022-11-17 21:49:14 +03:00
|
|
|
import space.kscience.gradle.useApache2Licence
|
|
|
|
import space.kscience.gradle.useSPCTeam
|
|
|
|
|
2019-10-07 14:52:58 +03:00
|
|
|
plugins {
|
2022-08-12 22:16:06 +03:00
|
|
|
id("space.kscience.gradle.project")
|
2022-04-13 15:02:35 +03:00
|
|
|
// id("org.jetbrains.kotlinx.kover") version "0.5.0"
|
2019-06-30 14:35:54 +03:00
|
|
|
}
|
|
|
|
|
2023-10-09 16:17:08 +03:00
|
|
|
val dataforgeVersion by extra("0.6.2")
|
2021-05-05 15:28:06 +03:00
|
|
|
val fxVersion by extra("11")
|
2020-11-15 15:00:54 +03:00
|
|
|
|
2022-11-17 21:49:14 +03:00
|
|
|
allprojects {
|
2022-01-07 16:56:33 +03:00
|
|
|
group = "space.kscience"
|
2023-11-13 21:45:37 +03:00
|
|
|
version = "0.3.0-dev-15"
|
2022-01-07 16:56:33 +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 {
|
2022-08-23 12:06:27 +03:00
|
|
|
mavenLocal()
|
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")
|
2023-05-29 09:53:56 +03:00
|
|
|
maven("https://maven.pkg.jetbrains.space/public/p/compose/dev")
|
2019-03-08 11:55:01 +03:00
|
|
|
}
|
2022-07-06 11:11:48 +03:00
|
|
|
|
2022-11-17 21:49:14 +03:00
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
|
|
kotlinOptions {
|
2022-07-06 11:11:48 +03:00
|
|
|
freeCompilerArgs = freeCompilerArgs + "-Xcontext-receivers"
|
|
|
|
}
|
|
|
|
}
|
2023-05-16 21:12:24 +03:00
|
|
|
|
|
|
|
tasks.withType<KotlinJsCompile>{
|
|
|
|
kotlinOptions{
|
|
|
|
useEsClasses = true
|
|
|
|
}
|
|
|
|
}
|
2020-10-02 19:09:25 +03:00
|
|
|
}
|
|
|
|
|
2021-08-07 11:27:57 +03:00
|
|
|
ksciencePublish {
|
2022-11-17 21:49:14 +03:00
|
|
|
pom("https://github.com/SciProgCentre/visionforge") {
|
|
|
|
useApache2Licence()
|
|
|
|
useSPCTeam()
|
|
|
|
}
|
2023-09-16 14:05:19 +03:00
|
|
|
repository("spc","https://maven.sciprog.center/kscience")
|
2021-03-07 16:19:43 +03:00
|
|
|
sonatype()
|
|
|
|
}
|
|
|
|
|
2020-10-02 19:09:25 +03:00
|
|
|
apiValidation {
|
|
|
|
ignoredPackages.add("info.laht.threekt")
|
2021-08-18 11:39:37 +03:00
|
|
|
}
|
|
|
|
|
2022-11-17 21:49:14 +03:00
|
|
|
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md")
|