-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathbuild.gradle
More file actions
58 lines (48 loc) · 1.74 KB
/
build.gradle
File metadata and controls
58 lines (48 loc) · 1.74 KB
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
plugins {
id 'com.google.osdetector' version '1.4.0'
id 'com.github.sherter.google-java-format' version '0.9' apply false
id 'com.github.johnrengelman.shadow' version '5.2.0' apply false
id 'com.jfrog.artifactory' version '4.18.3' apply false
id 'com.jfrog.bintray' version '1.8.5' apply false
id 'me.champeau.gradle.jmh' version '0.5.0' apply false
id 'io.morethan.jmhreport' version '0.9.0' apply false
id 'com.google.protobuf' version '0.8.14' apply false
id 'io.spring.dependency-management' version '1.0.10.RELEASE' apply false
}
apply from: 'artifactory.gradle'
apply from: 'bintray.gradle'
apply from: 'publication.gradle'
buildScan {
termsOfServiceUrl = 'https://gradle.com/terms-of-service'
termsOfServiceAgree = 'yes'
}
subprojects {
apply plugin: 'idea'
apply plugin: 'java'
apply plugin: 'java-library'
apply plugin: 'com.github.sherter.google-java-format'
apply plugin: 'maven-publish'
apply plugin: 'com.jfrog.artifactory'
apply plugin: 'com.jfrog.bintray'
apply from: "${project.rootDir}/dependencies-managment.gradle"
sourceCompatibility = 1.8
targetCompatibility = 1.8
ext {
if (project.hasProperty('versionSuffix')) {
project.version += project.getProperty('versionSuffix')
}
}
repositories {
mavenLocal()
maven { url 'https://oss.jfrog.org/oss-snapshot-local' }
mavenCentral()
if (version.endsWith('SNAPSHOT') || project.hasProperty('platformVersion')) {
maven { url 'http://repo.spring.io/libs-snapshot' }
maven { url 'https://oss.jfrog.org/oss-snapshot-local' }
}
}
googleJavaFormat {
toolVersion = '1.6'
exclude '**/generated'
}
}