-
-
Notifications
You must be signed in to change notification settings - Fork 67
/
pybuild.gradle
38 lines (32 loc) · 1017 Bytes
/
pybuild.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
/**
* Copyright (c) KMG. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
*/
/*
This gradle build to build the sbk-charts application is not working ,
due to compatibility issues between plugin version cpm.linkedin.python version 0.9.11 and
gradle 7+, Hence its recommend to use the sbk-charts directly with pre-installed python version 3+
*/
plugins {
//id "com.linkedin.python-cli" version "0.9.11"
id "com.linkedin.python" version "0.9.11"
}
python {
srcDir = project.file('.').path
}
// define an explicit installation sequence for the dependencies.
project.tasks.findByName('installPythonRequirements').sorted = false
dependencies {
python 'pypi:requests:2.9.1'
test 'pypi:mock:1.0.1'
}
repositories {
// provided by LinkedIn as an example
pyGradlePyPi()
}