-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathbuild.gradle
More file actions
44 lines (37 loc) · 1.08 KB
/
build.gradle
File metadata and controls
44 lines (37 loc) · 1.08 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
buildscript {
repositories {
jcenter()
gradlePluginPortal()
}
dependencies {
classpath 'ru.vyarus:gradle-quality-plugin:4.4.0'
}
}
group 'de.codecrafter47.data'
version '1.0.2-SNAPSHOT'
subprojects {
apply plugin: 'java-library'
apply plugin: 'ru.vyarus.quality'
def path2 = path.replace(':', '.')
group = project(":").group + path2.substring(0, path2.lastIndexOf('.'))
repositories {
mavenCentral()
}
java {
toolchain {
languageVersion.set(JavaLanguageVersion.of(8))
}
}
dependencies {
compileOnly 'org.projectlombok:lombok:1.18.34'
annotationProcessor 'org.projectlombok:lombok:1.18.34'
testCompileOnly 'org.projectlombok:lombok:1.18.34'
testAnnotationProcessor 'org.projectlombok:lombok:1.18.34'
compileOnly "com.google.code.findbugs:jsr305:3.0.1"
testCompileOnly "com.google.code.findbugs:jsr305:3.0.1"
compileOnly "com.google.guava:guava:18.0"
}
task sourceJar(type: Jar) {
from sourceSets.main.allJava
}
}