-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.gradle
54 lines (42 loc) · 1.12 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
plugins {
id 'pl.allegro.tech.build.axion-release' version '1.2.3'
id 'java'
id 'maven'
}
scmVersion {
tag {
prefix = ''
serialize = {config, version -> "$version-RELEASE"}
}
versionCreator 'versionWithBranch'
hooks {
pre 'fileUpdate', [file: 'README.md', pattern: {v,p -> /(version.) $v/}, replacement: {v, p -> "\$1 $v"}]
pre 'commit'
}
}
group = 'com.lokkju.geo'
project.version = scmVersion.version
sourceCompatibility=1.8
targetCompatibility=1.8
description = 's2-geometry-reloaded'
configurations {
provided
}
repositories {
jcenter()
}
dependencies {
compile group: 'com.google.guava', name: 'guava', version:'18.0'
compile group: 'org.slf4j', name: 'slf4j-api', version: '1.7.10'
runtime group: 'ch.qos.logback', name: 'logback-classic', version: '1.1.2'
testCompile group: 'junit', name: 'junit', version:'4.12'
provided group: 'com.google.code.findbugs', name: 'jsr305', version:'3.0.0'
}
sourceSets {
main {
compileClasspath += configurations.provided
}
}
task wrapper(type: Wrapper) {
gradleVersion = '2.3'
}