-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
61 lines (49 loc) · 1.76 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
49
50
51
52
53
54
55
56
57
58
59
60
61
buildscript {
repositories {
jcenter()
}
dependencies {
classpath 'org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.6.2'
}
}
repositories {
jcenter()
}
apply plugin: 'java'
sourceCompatibility = JavaVersion.VERSION_1_7
targetCompatibility = JavaVersion.VERSION_1_7
dependencies {
compile 'com.esotericsoftware.kryo:kryo:2.24.0'
compileOnly 'org.threeten:threetenbp:1.3.3'
testCompile 'junit:junit:4.12'
testCompile 'org.mockito:mockito-core:2.10.0'
testCompile 'org.threeten:threetenbp:1.3.3'
}
ext {
libraryName = 'Beapp Kryo serializers'
libraryGroupId = 'fr.beapp.kryo'
libraryArtifactId = 'kryo-serializers'
libraryVersion = '1.1-SNAPSHOT'
libraryPackaging = 'jar'
libraryDescription = 'A library providing extas serializers for Kryo'
siteUrl = 'https://bitbucket.org/beappers/beapp.kryo-serializers.java'
gitUrl = 'git@bitbucket.org:beappers/beapp.kryo-serializers.java.git'
developerId = 'dvilleneuve'
developerName = 'Damien Villeneuve'
developerEmail = 'd.villeneuve@beapp.fr'
licenseName = 'The Apache Software License, Version 2.0'
licenseUrl = 'http://www.apache.org/licenses/LICENSE-2.0.txt'
allLicenses = ["Apache-2.0"]
}
apply from: 'https://bitbucket.org/beappers/beapp.gradle/raw/master/publish-library.gradle'
apply plugin: 'org.sonarqube'
sonarqube {
properties {
property 'sonar.projectKey', "${libraryGroupId}:${libraryArtifactId}:java"
property 'sonar.projectName', "${libraryName} - Java"
property 'sonar.projectDescription', "${libraryDescription}"
property 'sonar.projectVersion', "${libraryVersion}"
property 'sonar.sourceEncoding', 'UTF-8'
property 'sonar.exclusions', '**/*Test.java'
}
}