-
Notifications
You must be signed in to change notification settings - Fork 73
/
Copy pathbuild.gradle
46 lines (39 loc) · 1.39 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
buildscript {
repositories {
gradlePluginPortal()
mavenCentral()
}
dependencies {
classpath 'com.palantir.gradle.externalpublish:gradle-external-publish-plugin:1.5.0'
classpath 'com.palantir.javaformat:gradle-palantir-java-format:2.9.0'
classpath 'com.palantir.gradle.consistentversions:gradle-consistent-versions:2.3.0'
classpath 'com.gradle.publish:plugin-publish-plugin:0.18.0'
classpath 'com.palantir.baseline:gradle-baseline-java:4.46.0'
classpath 'de.undercouch:gradle-download-task:4.1.2'
classpath 'com.palantir.gradle.gitversion:gradle-git-version:0.12.3'
classpath 'gradle.plugin.org.inferred:gradle-processors:3.6.0'
classpath 'com.palantir.gradle.revapi:gradle-revapi:1.5.0'
}
}
apply plugin: 'com.palantir.external-publish'
apply plugin: 'com.palantir.baseline'
apply plugin: 'com.palantir.git-version'
apply plugin: 'com.palantir.consistent-versions'
apply plugin: 'com.palantir.baseline-java-versions'
allprojects {
apply plugin: 'com.palantir.java-format'
version System.env.CIRCLE_TAG ?: gitVersion()
group 'com.palantir.sls-packaging'
repositories {
mavenCentral()
}
}
subprojects {
apply plugin: 'java-library'
tasks.withType(JavaCompile) {
options.compilerArgs += ['-Werror', '-Xlint:deprecation']
}
}
javaVersions {
libraryTarget = 11
}