-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathbuild.gradle
38 lines (30 loc) · 932 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
34
35
36
37
38
plugins {
id "com.xilinx.infra.core" apply true
id "com.xilinx.infra.resources" version '1.0.0' apply true
id 'com.dorongold.task-tree' version '1.5' apply true
id 'com.jfrog.artifactory' version '4.17.2'
id "maven-publish"
}
allprojects {
apply plugin: 'com.xilinx.infra.core'
apply plugin: 'com.xilinx.infra.resources'
apply plugin: 'com.dorongold.task-tree'
group = 'com.xilinx.xrt'
version = infraCore.getAutoVersion('0.0.1')
buildDir = "build/${project.name.capitalize()}"
repositories {
mavenLocal()
}
}
tasks.register('copyResources', Copy) {
from("build/Release/opt/xilinx/aiebu") {
into "xrt/aiebu"
}
from("version.txt") {
into "xrt/aiebu"
}
into release.resourceCollections.legacy.files.dir
}
release.resourceCollections.legacy.files.builtBy(copyResources)
assemble.dependsOn(":clean")
assemble.dependsOn(":copyResources")