-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
48 lines (39 loc) · 1.52 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
buildscript {
apply from: file('versions.gradle')
dependencies {
classpath "com.google.guava:guava:${guavaVersion}"
}
}
plugins {
id "com.github.spotbugs" version "5.0.6" apply false
id "com.github.alisiikh.scalastyle" version "3.4.1" apply false
id "io.freefair.lombok" version "6.4.1" apply false
id "io.github.gradle-nexus.publish-plugin" version "1.1.0"
id 'org.scoverage' version "${scoveragePluginVersion}" apply false
id 'idea'
}
allprojects {
apply from: file("$rootDir/gradle/repositories.gradle")
}
// the group of the root object has to set to this value,
// as the publish-plugin uses this value as the stagingProfile.
// and the root version is required to determine if the jar is published to snapshot or staging
group 'com.disneystreaming'
version neutrinoVersion
subprojects {
ext {
fastBuild = project.hasProperty('fast')
scalaSource = new File("$projectDir/src/main/scala").exists()
scalaTest = new File("$projectDir/src/test/scala").exists()
}
group 'com.disneystreaming'
version neutrinoVersion
apply from: file("$rootDir/gradle/java.gradle")
apply from: file("$rootDir/gradle/checkstyle.gradle")
apply from: file("$rootDir/gradle/test.gradle")
apply from: file("$rootDir/gradle/scala.gradle")
apply from: file("$rootDir/gradle/scalastyle.gradle")
apply from: file("$rootDir/gradle/scalatest.gradle")
apply from: file("$rootDir/gradle/codecoverage.gradle")
}
apply from: file("$rootDir/gradle/sonatypeRepo.gradle")