forked from CodeCrafter47/minecraft-data-api
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.gradle
More file actions
40 lines (33 loc) · 991 Bytes
/
build.gradle
File metadata and controls
40 lines (33 loc) · 991 Bytes
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
buildscript {
repositories {
mavenCentral()
gradlePluginPortal()
}
}
group 'de.codecrafter47.data'
version '1.0.2-SNAPSHOT'
subprojects {
apply plugin: 'java-library'
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
}
}