55 lines
1.3 KiB
Plaintext
55 lines
1.3 KiB
Plaintext
import space.kscience.gradle.isInDevelopment
|
|
import space.kscience.gradle.useApache2Licence
|
|
import space.kscience.gradle.useSPCTeam
|
|
|
|
plugins {
|
|
id("space.kscience.gradle.project")
|
|
// id("org.jetbrains.kotlinx.kover") version "0.5.0"
|
|
}
|
|
|
|
val dataforgeVersion by extra("0.6.1")
|
|
val fxVersion by extra("11")
|
|
|
|
allprojects {
|
|
group = "space.kscience"
|
|
version = "0.3.0-dev-7"
|
|
}
|
|
|
|
subprojects {
|
|
if (name.startsWith("visionforge")) apply<MavenPublishPlugin>()
|
|
|
|
repositories {
|
|
mavenLocal()
|
|
maven("https://repo.kotlin.link")
|
|
mavenCentral()
|
|
maven("https://maven.jzy3d.org/releases")
|
|
}
|
|
|
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
|
kotlinOptions {
|
|
freeCompilerArgs = freeCompilerArgs + "-Xcontext-receivers"
|
|
}
|
|
}
|
|
}
|
|
|
|
ksciencePublish {
|
|
pom("https://github.com/SciProgCentre/visionforge") {
|
|
useApache2Licence()
|
|
useSPCTeam()
|
|
}
|
|
github(githubProject = "visionforge", githubOrg = "SciProgCentre")
|
|
space(
|
|
if (isInDevelopment) {
|
|
"https://maven.pkg.jetbrains.space/spc/p/sci/dev"
|
|
} else {
|
|
"https://maven.pkg.jetbrains.space/spc/p/sci/maven"
|
|
}
|
|
)
|
|
sonatype()
|
|
}
|
|
|
|
apiValidation {
|
|
ignoredPackages.add("info.laht.threekt")
|
|
}
|
|
|
|
readme.readmeTemplate = file("docs/templates/README-TEMPLATE.md") |