-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
39 lines (36 loc) · 1.15 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
defaultTasks 'check'
apply plugin: 'com.github.ben-manes.versions'
apply plugin: 'com.dorongold.task-tree'
subprojects {
if (!(it.name in ['server','test'])) {
// Investigate why the java plugin is needed :/
apply plugin: 'java'
apply plugin: 'ca.cutterslade.analyze'
}
apply from: "$rootProject.projectDir/dependencies.gradle"
repositories {
jcenter()
}
gradle.projectsEvaluated {
tasks.withType(JavaCompile) {
options.compilerArgs << "-Xlint:all" << "-Werror"
}
}
configurations {
all*.exclude group: 'org.glassfish.hk2.external', module: 'javax.inject'
}
}
buildscript {
apply from: "$rootProject.projectDir/dependencies.gradle"
repositories {
jcenter()
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.github.ben-manes:gradle-versions-plugin:$rootProject.gradleVersionsPluginVersion"
classpath "ca.cutterslade.gradle:gradle-dependency-analyze:$rootProject.gradleDependencyAnalyzePluginVersion"
classpath 'gradle.plugin.com.dorongold.plugins:task-tree:1.3'
}
}