Repository navigation
Expand file tree
/
Copy pathbuild.gradle
More file actions
67 lines (45 loc) · 1.53 KB
/
Copy pathbuild.gradle
File metadata and controls
67 lines (45 loc) · 1.53 KB
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
65
66
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.jengelman.gradle.plugins:shadow:1.2.0'
classpath 'com.github.lkishalmi.gradle:gradle-bom-plugin:0.3'
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}
subprojects {
apply plugin:'java'
// apply plugin: 'com.github.johnrengelman.shadow'
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 {
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
compile(group: 'org.projectlombok', name: 'lombok', version:'1.16.2') {
/* This dependency was originally in the Maven provided scope, but the project was not of type war.
This behavior is not yet supported by Gradle, so this dependency has been converted to a compile dependency.
Please review and delete this closure when resolved. */
}
}
test { systemProperties 'property': 'value' }
}