/
build.gradle
35 lines (29 loc) · 1.07 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
group 'ai.djl.paddlepaddle'
dependencies {
api project(":paddlepaddle:paddlepaddle-engine")
testImplementation("org.testng:testng:${testng_version}") {
exclude group: "junit", module: "junit"
}
testImplementation "org.slf4j:slf4j-simple:${slf4j_version}"
testRuntimeOnly "ai.djl.paddlepaddle:paddlepaddle-native-auto:${paddlepaddle_version}"
testRuntimeOnly project(":pytorch:pytorch-engine")
testRuntimeOnly "ai.djl.pytorch:pytorch-native-auto:${pytorch_version}"
}
task syncS3(type: Exec) {
commandLine "sh", "-c", "find . -name .DS_Store | xargs rm && aws s3 sync src/test/resources/mlrepo s3://djl-ai/mlrepo --acl public-read"
standardOutput = new ByteArrayOutputStream()
ext.output = {
return standardOutput.toString()
}
}
publishing {
publications {
maven(MavenPublication) {
pom {
name = "DJL model zoo for PaddlePaddle"
description = "DJL model zoo for PaddlePaddle"
url = "http://www.djl.ai/paddlepaddle/${project.name}"
}
}
}
}