-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.gradle
60 lines (50 loc) · 1.58 KB
/
build.gradle
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
55
56
57
58
59
ext.oshCoreVersion = '1.4.0'
ext.compileSdkVersion = 21
ext.minSdkVersion = 21
ext.targetSdkVersion = 21
ext.buildToolsVersion = "30.0.2"
version = oshCoreVersion
buildscript {
repositories {
google()
mavenCentral()
}
dependencies {
classpath 'com.android.tools.build:gradle:7.0.1'
}
}
subprojects {
group = 'org.sensorhub'
repositories {
mavenCentral()
google()
}
if (!project.projectDir.parent.endsWith('osh-android')) {
apply plugin: 'java-library'
apply plugin: 'maven-publish'
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext.details = null
ext.pom = {}
configurations {
embedded
compile {
extendsFrom embedded
}
}
}
configurations.all {
exclude group: 'org.sensorhub', module: 'sensorhub-comm-ble-dbus'
resolutionStrategy.dependencySubstitution {
// force use of local projects
substitute module('org.sensorhub:sensorhub-core') with project(':sensorhub-core')
substitute module('org.sensorhub:sensorhub-comm-ble') with project(':sensorhub-comm-ble')
substitute module('org.sensorhub:sensorhub-service-swe') with project(':sensorhub-service-swe')
substitute module('org.sensorhub:sensorhub-service-video') with project(':sensorhub-service-video')
substitute module('org.vast.opengis:ogc-services-sps') with project(':ogc-services-sps')
// override objenesis version to get new android instantiators
substitute module('uk.com.robust-it:cloning:1.9.1') with module('uk.com.robust-it:cloning:1.9.10')
}
}
version = oshCoreVersion
}