-
Notifications
You must be signed in to change notification settings - Fork 212
/
build.gradle
65 lines (47 loc) · 1.39 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
62
63
64
def custom = { "$rootDir/gradle/${it}.gradle" }
buildscript {
repositories {
jcenter()
maven {
url 'https://github.com/serkan-ozal/maven-repository/raw/master/'
url "https://oss.sonatype.org/content/repositories/snapshots"
}
}
dependencies {
classpath 'com.bmuschko:gradle-nexus-plugin:2.2'
classpath 'com.github.lkishalmi.gradle:gradle-bom-plugin:0.3'
}
}
subprojects {
apply plugin: 'java'
apply plugin: 'groovy'
apply plugin: 'maven'
if (project.name != "micro-tutorial") {
apply plugin: 'com.bmuschko.nexus'
}
sourceCompatibility = 1.8
targetCompatibility = 1.8
jar {
manifest {
attributes 'Implementation-Title': 'Gradle Quickstart', 'Implementation-Version': version
}
}
repositories {
mavenCentral()
maven { url "http://repo.maven.apache.org/maven2" }
jcenter()
}
dependencies {
compileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18'
testCompile group: 'junit', name: 'junit', version: '4.12'
testCompile group: 'org.mockito', name: 'mockito-core', version: '1.9.5'
testCompile group: 'org.hamcrest', name: 'hamcrest-all', version: hamcrestVersion
testCompileOnly group: 'org.projectlombok', name: 'lombok', version: '1.16.18'
}
test {
systemProperties 'property': 'value'
testLogging {
events "started", "passed", "skipped", "failed"
}
}
}