forked from azagniotov/stubby4j
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.gradle
54 lines (45 loc) · 1.33 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
project.ext.isReleaseVersion = !"${stubbyProjectVersion}".endsWith("SNAPSHOT")
buildscript {
repositories {
mavenLocal()
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
}
dependencies {
classpath "org.unbroken-dome.gradle-plugins:gradle-testsets-plugin:4.0.0"
}
}
apply plugin: "java-library"
apply plugin: "maven-publish"
apply plugin: "signing"
apply plugin: "idea"
apply plugin: "eclipse"
apply plugin: "jacoco"
apply plugin: "org.unbroken-dome.test-sets"
defaultTasks 'clean', 'test', 'integrationTest', 'functionalTest', 'build'
description = 'Gradle configuration for stubby4j'
compileJava {
options.encoding = 'UTF-8'
options.compilerArgs << '-parameters' << '-Xlint:deprecation'
}
compileTestJava {
options.encoding = 'UTF-8'
}
javadoc {
if (JavaVersion.current().isJava8Compatible()) {
options.addStringOption('Xdoclint:none', '-quiet')
}
}
repositories {
mavenLocal()
mavenCentral()
}
apply from: "$rootDir/conf/gradle/dependencies.gradle"
apply from: "$rootDir/conf/gradle/ide.gradle"
apply from: "$rootDir/conf/gradle/multi-test-source-sets.gradle"
apply from: "$rootDir/conf/gradle/jacoco.gradle"
apply from: "$rootDir/conf/gradle/artifacts.gradle"
apply from: "$rootDir/conf/gradle/sonatype.gradle"