-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathsettings.gradle.kts
34 lines (28 loc) · 1.07 KB
/
settings.gradle.kts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
pluginManagement {
val kotlinVersion: String by settings
val dokkaVersion: String by settings
plugins {
kotlin("jvm") version kotlinVersion
kotlin("kapt") version kotlinVersion
id("org.jetbrains.dokka") version dokkaVersion
id("com.github.johnrengelman.shadow") version "8.1.1"
}
repositories {
gradlePluginPortal()
maven("https://raw.githubusercontent.com/kotlin-graphics/mary/master")
}
}
rootProject.name = "sciview"
gradle.rootProject {
group = "sc.iview"
version = project.properties["version"]!!
description = "Scenery-backed 3D visualization package for ImageJ."
}
val useLocalScenery: String? by extra
if (System.getProperty("CI").toBoolean() != true
&& System.getenv("CI").toBoolean() != true
&& useLocalScenery?.toBoolean() == true)
if(File("../scenery/build.gradle.kts").exists()) {
logger.warn("Including local scenery project instead of version declared in build, set -PuseLocalScenery=false to use declared version instead.")
includeBuild("../scenery")
}