-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
41 lines (32 loc) · 1.04 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
plugins {
id "org.sonarqube" version "2.2.1"
id "io.spring.dependency-management" version "0.6.1.RELEASE" apply false
id "org.unbroken-dome.test-sets" version "1.2.0" apply false
}
description = 'Parent Project for netatmo services'
group = 'de.i3mainz'
version = version
def javaProjects() {
return subprojects.findAll { new File(it.projectDir, "src").exists() }
}
configure(javaProjects()) {
apply plugin: 'java'
apply plugin: 'eclipse'
apply from: "${rootProject.projectDir}/maven.gradle"
sourceCompatibility = 1.8
targetCompatibility = 1.8
repositories {
maven { url "http://repo.spring.io/release" }
jcenter()
maven { url "http://repo.spring.io/snapshot" }
maven { url "http://repo.spring.io/milestone" }
mavenCentral()
}
dependencies { testCompile "junit:junit:$junitVersion" }
version = version
jar { manifest.attributes provider: 'i3mainz' }
}
task wrapper(type: Wrapper) {
description = 'Generates gradlew[.bat] scripts'
gradleVersion = '3.2.1'
}