-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathsettings.gradle
More file actions
executable file
·54 lines (45 loc) · 1.75 KB
/
settings.gradle
File metadata and controls
executable file
·54 lines (45 loc) · 1.75 KB
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
pluginManagement {
repositories {
gradlePluginPortal()
maven {
url "https://dl.interactive-instruments.de/repository/maven-releases/"
}
maven {
url "https://dl.interactive-instruments.de/repository/maven-snapshots/"
}
}
}
buildscript {
configurations.all {
resolutionStrategy {
cacheChangingModulesFor 0, 'seconds'
cacheDynamicVersionsFor 0, 'seconds'
}
}
}
plugins {
id "de.interactive_instruments.xtraplatform-settings" version "6.2.4"
}
def versions = xtraplatform.getCatalogVersions(file("gradle/layers.versions.toml"))
ext {
coreVersionCatalog = versions['xtraplatform-core']
nativeVersionCatalog = versions['xtraplatform-native']
coreVersion = settings.hasProperty('coreVersionExt') ? settings.getProperty('coreVersionExt') : coreVersionCatalog
nativeVersion = settings.hasProperty('nativeVersionExt') ? settings.getProperty('nativeVersionExt') : nativeVersionCatalog
}
xtraplatform {
includeOnlyIf { layer -> (gradle.parent != null || settings.hasProperty('inc')) && (layer.name != 'xtraplatform-native' || settings.hasProperty('native')) }
layerInclude name: 'xtraplatform-core', group: 'de.interactive_instruments', version: coreVersion, path: '../', dir: 'xtraplatform'
layerIncludeNative name: 'xtraplatform-native', group: 'de.interactive_instruments', version: nativeVersion, path: '../'
}
dependencyResolutionManagement {
repositories {
mavenCentral()
maven {
url 'https://jitpack.io'
//TODO: use version catalog for schemas-ext
//content { includeGroupAndSubgroups "com.github" }
}
}
}
rootProject.name = 'xtraplatform-spatial'