-
Notifications
You must be signed in to change notification settings - Fork 62
/
Copy pathbuild.gradle
73 lines (68 loc) · 2.61 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
/*
* Copyright Pravega Authors.
*
* 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
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
plugins {
id 'org.hidetake.ssh' version '2.8.0'
}
allprojects {
apply plugin: "idea"
apply plugin: "eclipse"
}
ext {
lombokVersion = loadProperties().getProperty("lombokVersion")
samplesVersion = loadProperties().getProperty("samplesVersion")
}
def loadProperties() {
def customPropertiesFile = file('../../gradle.properties')
def properties = new Properties()
customPropertiesFile.withInputStream { properties.load(it) }
return properties
}
subprojects {
if (file("src/main/java").isDirectory()) {
apply plugin: 'java'
dependencies {
compileOnly 'org.projectlombok:lombok:' + lombokVersion
testCompileOnly 'org.projectlombok:lombok:' + lombokVersion
annotationProcessor 'org.projectlombok:lombok:' + lombokVersion
testAnnotationProcessor 'org.projectlombok:lombok:' + lombokVersion
}
}
repositories {
mavenLocal()
mavenCentral()
maven {
url "https://repository.apache.org/snapshots"
}
maven {
url "https://maven.pkg.github.com/pravega/pravega"
credentials {
username = "pravega-public"
password = "\u0067\u0068\u0070\u005F\u0048\u0034\u0046\u0079\u0047\u005A\u0031\u006B\u0056\u0030\u0051\u0070\u006B\u0079\u0058\u006D\u0035\u0063\u0034\u0055\u0033\u006E\u0032\u0065\u0078\u0039\u0032\u0046\u006E\u0071\u0033\u0053\u0046\u0076\u005A\u0049"
}
}
maven {
url "https://maven.pkg.github.com/pravega/flink-connectors"
credentials {
username = "pravega-public"
password = "\u0067\u0068\u0070\u005F\u0048\u0034\u0046\u0079\u0047\u005A\u0031\u006B\u0056\u0030\u0051\u0070\u006B\u0079\u0058\u006D\u0035\u0063\u0034\u0055\u0033\u006E\u0032\u0065\u0078\u0039\u0032\u0046\u006E\u0071\u0033\u0053\u0046\u0076\u005A\u0049"
}
}
}
plugins.withType(org.gradle.api.plugins.JavaPlugin) {
group "io.pravega"
version samplesVersion
}
}