-
Notifications
You must be signed in to change notification settings - Fork 6
/
build.gradle
33 lines (27 loc) · 854 Bytes
/
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
buildscript {
repositories { mavenCentral() }
dependencies { classpath 'org.ajoberstar:grgit:1.5.0' }
}
import org.ajoberstar.grgit.*
task cloneGitRepo << {
def grgit = Grgit.clone(dir: 'c/Telemetry', uri: 'https://github.com/Overdrivr/Telemetry.git')
grgit.checkout(branch: 'tags/1.0.0')
}
task copyCrc16(type: Copy) {
from 'c/Telemetry/build/libs/crc16/shared/release/'
into 'pytelemetry/telemetry/'
include '**.dll','**.so','**.dynlib'
}
task copyFraming(type: Copy) {
from 'c/Telemetry/build/libs/framing/shared/release/'
into 'pytelemetry/telemetry/'
include '**.dll','**.so','**.dynlib'
}
task copyTelemetry(type: Copy) {
from 'c/Telemetry/build/libs/telemetry/shared/release/'
into 'pytelemetry/telemetry/'
include '**.dll','**.so','**.dynlib'
}
task copyFiles {
dependsOn copyCrc16, copyFraming, copyTelemetry
}