forked from mockito/shipkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.gradle
48 lines (40 loc) · 1.27 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
// First, apply the publishing plugin
buildscript {
repositories {
mavenLocal() // for downstream test
maven { url "https://plugins.gradle.org/m2/" }
}
dependencies {
classpath 'org.shipkit:shipkit:2.3.1'
classpath 'com.gradle:build-scan-plugin:1.16'
classpath 'ru.vyarus:gradle-animalsniffer-plugin:1.4.6'
classpath "com.gradle.publish:plugin-publish-plugin:0.12.0"
}
}
apply plugin: 'com.gradle.build-scan'
buildScan {
publishAlways()
licenseAgreementUrl = 'https://gradle.com/terms-of-service'
licenseAgree = 'yes'
}
apply from: "$rootDir/gradle/java8-compatibility.gradle"
apply from: "$rootDir/gradle/precommit.gradle"
apply plugin: 'base'
apply plugin: 'org.shipkit.gradle-plugin'
allprojects {
group = 'org.shipkit'
repositories {
jcenter()
maven { url "https://plugins.gradle.org/m2/" }
maven { url 'https://maven.google.com' }
}
tasks.withType(Test) {
minHeapSize = '128m'
maxHeapSize = '512m'
testLogging {
//This way Spock/Groovy power asserts will be visible in the build log
//Very useful - you don't have to look at the test results to debug a test failure
exceptionFormat "full"
}
}
}